Interface GrantHandlerContext
- All Superinterfaces:
InvocationContext
OAuth 2.0 authorisation grant handler context.
-
Method Summary
Modifier and TypeMethodDescriptionSet<com.nimbusds.oauth2.sdk.token.TokenBindingMethod>Returns the binding methods for the token(s) to be issued for the handled grant.resolveClaimNames(@Nullable com.nimbusds.oauth2.sdk.Scope scope) Resolves the claim names for all scope values that expand to claims.Methods inherited from interface com.nimbusds.openid.connect.provider.spi.InvocationContext
getIssuer
-
Method Details
-
getTokenBindingMethods
Set<com.nimbusds.oauth2.sdk.token.TokenBindingMethod> getTokenBindingMethods()Returns the binding methods for the token(s) to be issued for the handled grant.- Returns:
- The token binding methods, as un unmodifiable set, empty set if none.
-
resolveClaimNames
Resolves the claim names for all scope values that expand to claims. Recognises all standard OpenID Connect scope values as well as any custom mappings configured in the Connect2id server.- Parameters:
scope- The scope,nullif not specified.- Returns:
- The resolved claim names, as an unmodifiable set, empty set if none.
-