Interface GraphQLAuthorizationManager
- All Superinterfaces:
AuthorizationManager
Authorization manager for policy decisions enforced by GraphQL endpoints.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptiongetGraphQLAuthorizationResult(SubjectAttributes subject, GraphQLAuthorizationActionAttributes action, GraphQLAuthorizationResourceAttributes resource, ContextAttributes context) Returns the authorization decision for a given request.
-
Method Details
-
getGraphQLAuthorizationResult
AuthorizationResult<GraphQLObligation> getGraphQLAuthorizationResult(SubjectAttributes subject, GraphQLAuthorizationActionAttributes action, GraphQLAuthorizationResourceAttributes resource, ContextAttributes context) Returns the authorization decision for a given request.- Parameters:
subject- the request subjectaction- the request action, which currently will be emptyresource- the request action resourcecontext- the request context- Returns:
- the authorization result
-