public abstract class AbstractAuthorizationCodeDataProvider extends AbstractOAuthDataProvider implements AuthorizationCodeDataProvider
| Constructor and Description |
|---|
AbstractAuthorizationCodeDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
ServerAuthorizationCodeGrant |
createCodeGrant(AuthorizationCodeRegistration reg)
Creates a temporarily code grant which will capture the
information about the
Client requesting the access to
the resource owner's resources |
protected List<String> |
getApprovedScopes(AuthorizationCodeRegistration reg) |
protected String |
getCode(AuthorizationCodeRegistration reg) |
long |
getGrantLifetime() |
protected long |
getIssuedAt() |
void |
setGrantLifetime(long lifetime) |
close, convertScopeToPermissions, createAccessToken, createNewAccessToken, createNewRefreshToken, doCreateAccessToken, doCreateNewRefreshToken, doRefreshAccessToken, doRemoveClient, doRevokeAccessToken, doRevokeRefreshToken, getDefaultScopes, getInvisibleToClientScopes, getMessageContext, getPermissionMap, getPreauthorizedToken, getRefreshToken, getRequiredScopes, handleLinkedRefreshToken, init, isClientMatched, isRefreshTokenSupported, isSupportPreauthorizedTokens, isTokenMatched, linkAccessTokenToRefreshToken, linkRefreshTokenToAccessToken, refreshAccessToken, removeAccessToken, removeClient, removeClientTokens, revokeAccessToken, revokeAccessTokens, revokeRefreshToken, revokeToken, saveAccessToken, saveRefreshToken, setAccessTokenLifetime, setClients, setDefaultScopes, setInvisibleToClientScopes, setMessageContext, setPermissionMap, setRecycleRefreshTokens, setRefreshTokenLifetime, setRequiredScopes, setSupportedScopes, setSupportPreauthorizedTokens, unlinkRefreshAccessToken, updateRefreshTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCodeGrants, removeCodeGrantconvertScopeToPermissions, createAccessToken, getAccessToken, getAccessTokens, getClient, getPreauthorizedToken, getRefreshTokens, refreshAccessToken, removeAccessToken, revokeTokengetClient, getClients, setClientpublic AbstractAuthorizationCodeDataProvider()
public ServerAuthorizationCodeGrant createCodeGrant(AuthorizationCodeRegistration reg) throws OAuthServiceException
AuthorizationCodeDataProviderClient requesting the access to
the resource owner's resourcescreateCodeGrant in interface AuthorizationCodeDataProviderreg - information about the client code grant requestOAuthServiceExceptionAuthorizationCodeRegistration,
ServerAuthorizationCodeGrantprotected List<String> getApprovedScopes(AuthorizationCodeRegistration reg)
protected String getCode(AuthorizationCodeRegistration reg)
public long getGrantLifetime()
public void setGrantLifetime(long lifetime)
protected long getIssuedAt()
Apache CXF