Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
OAuth2TokenRepository.getAccessTokenById(Long id) |
OAuth2AccessTokenEntity |
OAuth2TokenRepository.getAccessTokenByValue(String accessTokenValue) |
OAuth2AccessTokenEntity |
OAuth2TokenRepository.saveAccessToken(OAuth2AccessTokenEntity token) |
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAccessTokensForApprovedSite(ApprovedSite approvedSite) |
List<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAccessTokensForClient(ClientDetailsEntity client) |
Set<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAccessTokensForResourceSet(ResourceSet rs) |
Set<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAllAccessTokens() |
Set<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAllExpiredAccessTokens() |
Set<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAllExpiredAccessTokens(PageCriteria pageCriteria) |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2TokenRepository.removeAccessToken(OAuth2AccessTokenEntity accessToken) |
OAuth2AccessTokenEntity |
OAuth2TokenRepository.saveAccessToken(OAuth2AccessTokenEntity token) |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
JpaOAuth2TokenRepository.getAccessTokenById(Long id) |
OAuth2AccessTokenEntity |
JpaOAuth2TokenRepository.getAccessTokenByValue(String accessTokenValue) |
OAuth2AccessTokenEntity |
JpaOAuth2TokenRepository.saveAccessToken(OAuth2AccessTokenEntity token) |
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAccessTokensForApprovedSite(ApprovedSite approvedSite) |
List<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAccessTokensForClient(ClientDetailsEntity client) |
Set<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAccessTokensForResourceSet(ResourceSet rs) |
Set<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAllAccessTokens() |
Set<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAllExpiredAccessTokens() |
Set<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAllExpiredAccessTokens(PageCriteria pageCriteria) |
Modifier and Type | Method and Description |
---|---|
void |
JpaOAuth2TokenRepository.removeAccessToken(OAuth2AccessTokenEntity accessToken) |
OAuth2AccessTokenEntity |
JpaOAuth2TokenRepository.saveAccessToken(OAuth2AccessTokenEntity token) |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.getAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.getAccessTokenById(Long id) |
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.getRegistrationAccessTokenForClient(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.readAccessToken(String accessTokenValue) |
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.saveAccessToken(OAuth2AccessTokenEntity accessToken) |
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
OAuth2TokenEntityService.getAccessTokensForClient(ClientDetailsEntity client) |
Set<OAuth2AccessTokenEntity> |
OAuth2TokenEntityService.getAllAccessTokensForUser(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
IntrospectionResultAssembler.assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo,
Set<String> authScopes)
Assemble a token introspection result from the given access token and user info.
|
void |
OAuth2TokenEntityService.revokeAccessToken(OAuth2AccessTokenEntity accessToken) |
OAuth2AccessTokenEntity |
OAuth2TokenEntityService.saveAccessToken(OAuth2AccessTokenEntity accessToken) |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.createAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.getAccessToken(org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
Get an access token by its authentication object.
|
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.getAccessTokenById(Long id) |
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.getRegistrationAccessTokenForClient(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.readAccessToken(String accessTokenValue)
Get an access token from its token value.
|
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.refreshAccessToken(String refreshTokenValue,
org.springframework.security.oauth2.provider.TokenRequest authRequest) |
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.saveAccessToken(OAuth2AccessTokenEntity accessToken) |
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
DefaultOAuth2ProviderTokenService.getAccessTokensForClient(ClientDetailsEntity client) |
Set<OAuth2AccessTokenEntity> |
DefaultOAuth2ProviderTokenService.getAllAccessTokensForUser(String id) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
DefaultIntrospectionResultAssembler.assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo,
Set<String> authScopes) |
void |
DefaultOAuth2ProviderTokenService.revokeAccessToken(OAuth2AccessTokenEntity accessToken)
Revoke an access token.
|
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.saveAccessToken(OAuth2AccessTokenEntity accessToken) |
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
OIDCTokenService.createRegistrationAccessToken(ClientDetailsEntity client)
Create a registration access token for the given client.
|
OAuth2AccessTokenEntity |
OIDCTokenService.createResourceAccessToken(ClientDetailsEntity client)
Create a resource access token for the given client (protected resource).
|
OAuth2AccessTokenEntity |
OIDCTokenService.rotateRegistrationAccessTokenForClient(ClientDetailsEntity client)
Rotate the registration or resource token for a client
|
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
ApprovedSiteService.getApprovedAccessTokens(ApprovedSite approvedSite)
Return all approved access tokens for the site.
|
Modifier and Type | Method and Description |
---|---|
com.nimbusds.jwt.JWT |
OIDCTokenService.createIdToken(ClientDetailsEntity client,
org.springframework.security.oauth2.provider.OAuth2Request request,
Date issueTime,
String sub,
OAuth2AccessTokenEntity accessToken)
Create an id token with the information provided.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.createRegistrationAccessToken(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.createResourceAccessToken(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.rotateRegistrationAccessTokenForClient(ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
List<OAuth2AccessTokenEntity> |
DefaultApprovedSiteService.getApprovedAccessTokens(ApprovedSite approvedSite) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultOIDCTokenService.addCustomIdTokenClaims(com.nimbusds.jwt.JWTClaimsSet.Builder idClaims,
ClientDetailsEntity client,
org.springframework.security.oauth2.provider.OAuth2Request request,
String sub,
OAuth2AccessTokenEntity accessToken)
Hook for subclasses that allows adding custom claims to the JWT
that will be used as id token.
|
com.nimbusds.jwt.JWT |
DefaultOIDCTokenService.createIdToken(ClientDetailsEntity client,
org.springframework.security.oauth2.provider.OAuth2Request request,
Date issueTime,
String sub,
OAuth2AccessTokenEntity accessToken) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConnectTokenEnhancer.addCustomAccessTokenClaims(com.nimbusds.jwt.JWTClaimsSet.Builder builder,
OAuth2AccessTokenEntity token,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
Hook for subclasses that allows adding custom claims to the JWT that will be used as access token.
|
Modifier and Type | Method and Description |
---|---|
static com.nimbusds.jose.util.Base64URL |
IdTokenHashUtils.getAccessTokenHash(com.nimbusds.jose.JWSAlgorithm signingAlg,
OAuth2AccessTokenEntity token)
Compute the SHA hash of a token
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
UmaTokenService.createRequestingPartyToken(org.springframework.security.oauth2.provider.OAuth2Authentication o2auth,
PermissionTicket ticket,
Policy policy)
Create the RPT from the given authentication and ticket.
|
Modifier and Type | Method and Description |
---|---|
OAuth2AccessTokenEntity |
DefaultUmaTokenService.createRequestingPartyToken(org.springframework.security.oauth2.provider.OAuth2Authentication o2auth,
PermissionTicket ticket,
Policy policy) |
Copyright © 2018. All rights reserved.