public interface OAuth2AccessTokenService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessToken |
handleTokenRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Authenticates the client (if required) and generates an access token.
|
OAuth2TokenRevocation |
handleTokenRevocation(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
Authenticates the client (if required) and revoke an access token.
|
boolean |
isAccessTokenAvailable(PublicAPI aTools,
java.lang.String clientID)
Checks if access token exists pertaining to the given clientID
|
boolean |
revokeAccessTokenByClientID(PublicAPI aTools,
java.lang.String clientID,
java.lang.String operatorID,
java.lang.String grantType)
Removes all the access token pertaining to the given clientID
|
OAuth2AccessToken handleTokenRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
parameters
- a Map of (HTTP) parameters and their values *boolean revokeAccessTokenByClientID(PublicAPI aTools, java.lang.String clientID, java.lang.String operatorID, java.lang.String grantType)
aTools
- clientID
- operatorID
- grantType
- OAuth2TokenRevocation handleTokenRevocation(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
parameters
- a Map of (HTTP) parameters and their valuesboolean isAccessTokenAvailable(PublicAPI aTools, java.lang.String clientID)
aTools
- clientID
- Copyright © 2018 Pegasystems Inc. All Rights Reserved.