You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Initial GraphQL API
This commit is contained in:
@@ -234,6 +234,13 @@ pub enum Resource {
|
||||
/// Pages destined to be viewed by humans
|
||||
Human,
|
||||
|
||||
/// GraphQL endpoint
|
||||
GraphQL {
|
||||
/// Enabled the GraphQL playground
|
||||
#[serde(default)]
|
||||
playground: bool,
|
||||
},
|
||||
|
||||
/// OAuth-related APIs
|
||||
OAuth,
|
||||
|
||||
@@ -300,6 +307,7 @@ impl Default for HttpConfig {
|
||||
Resource::Human,
|
||||
Resource::OAuth,
|
||||
Resource::Compat,
|
||||
Resource::GraphQL { playground: true },
|
||||
Resource::Static { web_root: None },
|
||||
],
|
||||
tls: None,
|
||||
|
||||
Reference in New Issue
Block a user