Annotation Interface RequiresScopes
@Description("Indicates to composition that the target element is accessible only to the authenticated supergraph users with the appropriate JWT scopes")
@Retention(RUNTIME)
@Experimental("SmallRye GraphQL Federation is still subject to change.")
public @interface RequiresScopes
directive @requiresScopes(scopes: [[Scope!]!]!) on ENUM | FIELD_DEFINITION | INTERFACE | OBJECT |
SCALAR- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
scopes
@NonNull @Description("List of JWT scopes that must be granted to the user in order to access the underlying element data.") @NonNull ScopeGroup[] scopes
-