cas::graphql::routes

Function graphql_handler

Source
pub async fn graphql_handler(
    schema: Extension<Schema<Query, Mutation, EmptySubscription>>,
    auth: Authentication,
    req: GraphQLRequest,
) -> GraphQLResponse
Expand description

Handler for GraphQL route. It executs the schema using the authorization as appdata