Interface TokenRequestParameters
-
public interface TokenRequestParameters
Common token request parameters for an OAuth 2.0 grant.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable Map<String,List<String>>
getCustomParameters()
Returns the custom token request parameters.default @Nullable List<URI>
getResources()
Returns the resource server URI(s).default @Nullable com.nimbusds.oauth2.sdk.Scope
getScope()
Returns the requested scope.
-
-
-
Method Detail
-
getScope
default @Nullable com.nimbusds.oauth2.sdk.Scope getScope()
Returns the requested scope.- Returns:
- The scope,
null
if not specified.
-
getResources
default @Nullable List<URI> getResources()
Returns the resource server URI(s).- Returns:
- The resource server URI(s),
null
if not specified.
-
getCustomParameters
default @Nullable Map<String,List<String>> getCustomParameters()
Returns the custom token request parameters.- Returns:
- The custom parameters, empty map if none.
-
-