public interface ClientCredentialsGrantHandler extends GrantHandler
Related specifications:
Modifier and Type | Method and Description |
---|---|
GrantAuthorization |
processGrant(com.nimbusds.oauth2.sdk.Scope scope,
com.nimbusds.oauth2.sdk.id.ClientID clientID,
com.nimbusds.oauth2.sdk.client.ClientMetadata clientMetadata)
Handles a Client Credentials grant request.
|
getGrantType
GrantAuthorization processGrant(com.nimbusds.oauth2.sdk.Scope scope, com.nimbusds.oauth2.sdk.id.ClientID clientID, com.nimbusds.oauth2.sdk.client.ClientMetadata clientMetadata) throws com.nimbusds.oauth2.sdk.GeneralException
scope
- The requested scope, null
if not
specified.clientID
- The client identifier. Not null
.clientMetadata
- The OAuth 2.0 client metadata. Not
null
.com.nimbusds.oauth2.sdk.GeneralException
- If the grant is denied, or another
exception was encountered.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.