Modifier and Type | Method and Description |
---|---|
JWTEncryptionAndDecryptionService |
ClientKeyCacheService.getEncrypter(ClientDetailsEntity client) |
JWTSigningAndValidationService |
SymmetricKeyJWTValidatorCacheService.getSymmetricValidtor(ClientDetailsEntity client)
Create a symmetric signing and validation service for the given client
|
JWTSigningAndValidationService |
ClientKeyCacheService.getValidator(ClientDetailsEntity client,
com.nimbusds.jose.JWSAlgorithm alg) |
Modifier and Type | Method and Description |
---|---|
ClientDetailsEntity |
OAuth2AccessTokenEntity.getClient() |
ClientDetailsEntity |
OAuth2RefreshTokenEntity.getClient() |
ClientDetailsEntity |
RegisteredClient.getClient() |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2AccessTokenEntity.setClient(ClientDetailsEntity client) |
void |
OAuth2RefreshTokenEntity.setClient(ClientDetailsEntity client) |
void |
RegisteredClient.setClient(ClientDetailsEntity client) |
Constructor and Description |
---|
RegisteredClient(ClientDetailsEntity client) |
RegisteredClient(ClientDetailsEntity client,
String registrationAccessToken,
String registrationClientUri) |
Modifier and Type | Method and Description |
---|---|
ClientDetailsEntity |
OAuth2ClientRepository.getById(Long id) |
ClientDetailsEntity |
OAuth2ClientRepository.getClientByClientId(String clientId) |
ClientDetailsEntity |
OAuth2ClientRepository.saveClient(ClientDetailsEntity client) |
ClientDetailsEntity |
OAuth2ClientRepository.updateClient(Long id,
ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
Collection<ClientDetailsEntity> |
OAuth2ClientRepository.getAllClients() |
Modifier and Type | Method and Description |
---|---|
void |
OAuth2TokenRepository.clearTokensForClient(ClientDetailsEntity client) |
void |
OAuth2ClientRepository.deleteClient(ClientDetailsEntity client) |
List<OAuth2AccessTokenEntity> |
OAuth2TokenRepository.getAccessTokensForClient(ClientDetailsEntity client) |
List<OAuth2RefreshTokenEntity> |
OAuth2TokenRepository.getRefreshTokensForClient(ClientDetailsEntity client) |
ClientDetailsEntity |
OAuth2ClientRepository.saveClient(ClientDetailsEntity client) |
ClientDetailsEntity |
OAuth2ClientRepository.updateClient(Long id,
ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
ClientDetailsEntity |
JpaOAuth2ClientRepository.getById(Long id) |
ClientDetailsEntity |
JpaOAuth2ClientRepository.getClientByClientId(String clientId) |
ClientDetailsEntity |
JpaOAuth2ClientRepository.saveClient(ClientDetailsEntity client) |
ClientDetailsEntity |
JpaOAuth2ClientRepository.updateClient(Long id,
ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
Collection<ClientDetailsEntity> |
JpaOAuth2ClientRepository.getAllClients() |
Modifier and Type | Method and Description |
---|---|
void |
JpaOAuth2TokenRepository.clearTokensForClient(ClientDetailsEntity client) |
void |
JpaOAuth2ClientRepository.deleteClient(ClientDetailsEntity client) |
List<OAuth2AccessTokenEntity> |
JpaOAuth2TokenRepository.getAccessTokensForClient(ClientDetailsEntity client) |
List<OAuth2RefreshTokenEntity> |
JpaOAuth2TokenRepository.getRefreshTokensForClient(ClientDetailsEntity client) |
ClientDetailsEntity |
JpaOAuth2ClientRepository.saveClient(ClientDetailsEntity client) |
ClientDetailsEntity |
JpaOAuth2ClientRepository.updateClient(Long id,
ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
ClientDetailsEntity |
ClientDetailsEntityService.generateClientId(ClientDetailsEntity client) |
ClientDetailsEntity |
ClientDetailsEntityService.generateClientSecret(ClientDetailsEntity client) |
ClientDetailsEntity |
ClientDetailsEntityService.getClientById(Long id) |
ClientDetailsEntity |
ClientDetailsEntityService.loadClientByClientId(String clientId) |
ClientDetailsEntity |
ClientDetailsEntityService.saveNewClient(ClientDetailsEntity client) |
ClientDetailsEntity |
ClientDetailsEntityService.updateClient(ClientDetailsEntity oldClient,
ClientDetailsEntity newClient) |
Modifier and Type | Method and Description |
---|---|
Collection<ClientDetailsEntity> |
ClientDetailsEntityService.getAllClients() |
Modifier and Type | Method and Description |
---|---|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.generateClientId(ClientDetailsEntity client)
Generates a clientId for the given client and sets it to the client's clientId field.
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.generateClientSecret(ClientDetailsEntity client)
Generates a new clientSecret for the given client and sets it to the client's clientSecret field.
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.getClientById(Long id)
Get the client by its internal ID
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.loadClientByClientId(String clientId)
Get the client for the given ClientID
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.saveNewClient(ClientDetailsEntity client) |
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.updateClient(ClientDetailsEntity oldClient,
ClientDetailsEntity newClient)
Update the oldClient with information from the newClient.
|
Modifier and Type | Method and Description |
---|---|
Collection<ClientDetailsEntity> |
DefaultOAuth2ClientDetailsEntityService.getAllClients()
Get all clients in the system
|
Modifier and Type | Method and Description |
---|---|
DeviceCode |
DefaultDeviceCodeService.createNewDeviceCode(Set<String> requestedScopes,
ClientDetailsEntity client,
Map<String,String> parameters) |
void |
DefaultOAuth2ClientDetailsEntityService.deleteClient(ClientDetailsEntity client)
Delete a client and all its associated tokens
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.generateClientId(ClientDetailsEntity client)
Generates a clientId for the given client and sets it to the client's clientId field.
|
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.generateClientSecret(ClientDetailsEntity client)
Generates a new clientSecret for the given client and sets it to the client's clientSecret field.
|
List<OAuth2AccessTokenEntity> |
DefaultOAuth2ProviderTokenService.getAccessTokensForClient(ClientDetailsEntity client) |
List<OAuth2RefreshTokenEntity> |
DefaultOAuth2ProviderTokenService.getRefreshTokensForClient(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
DefaultOAuth2ProviderTokenService.getRegistrationAccessTokenForClient(ClientDetailsEntity client) |
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.saveNewClient(ClientDetailsEntity client) |
ClientDetailsEntity |
DefaultOAuth2ClientDetailsEntityService.updateClient(ClientDetailsEntity oldClient,
ClientDetailsEntity newClient)
Update the oldClient with information from the newClient.
|
Modifier and Type | Method and Description |
---|---|
static ClientDetailsEntity |
ClientDetailsEntityJsonProcessor.parse(com.google.gson.JsonElement jsonEl) |
static ClientDetailsEntity |
ClientDetailsEntityJsonProcessor.parse(String jsonString)
Create an unbound ClientDetailsEntity from the given JSON string.
|
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.
|
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).
|
String |
PairwiseIdentiferService.getIdentifier(UserInfo userInfo,
ClientDetailsEntity client)
Calcualtes the pairwise identifier for the given userinfo object and client.
|
CachedImage |
ClientLogoLoadingService.getLogo(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
OIDCTokenService.rotateRegistrationAccessTokenForClient(ClientDetailsEntity client)
Rotate the registration or resource token for a client
|
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) |
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.createRegistrationAccessToken(ClientDetailsEntity client) |
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.createResourceAccessToken(ClientDetailsEntity client) |
Collection<ResourceSet> |
DummyResourceSetService.getAllForClient(ClientDetailsEntity client) |
String |
UUIDPairwiseIdentiferService.getIdentifier(UserInfo userInfo,
ClientDetailsEntity client) |
CachedImage |
InMemoryClientLogoLoadingService.getLogo(ClientDetailsEntity client) |
CachedImage |
InMemoryClientLogoLoadingService.ClientLogoFetcher.load(ClientDetailsEntity key) |
OAuth2AccessTokenEntity |
DefaultOIDCTokenService.rotateRegistrationAccessTokenForClient(ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceSet> |
ResourceSetService.getAllForClient(ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceSet> |
DefaultResourceSetService.getAllForClient(ClientDetailsEntity client) |
Copyright © 2018. All rights reserved.