public interface OpenIdConnectClientRegistration extends ClientRegistration
Modifier and Type | Method and Description |
---|---|
long |
getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the access token life time in milliseconds.
|
long |
getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings)
Gets the authorization code life time in milliseconds.
|
Key |
getIDTokenEncryptionKey()
Gets the encryption key used to encrypt OpenID Connect tokens.
|
String |
getIDTokenEncryptionResponseAlgorithm()
Gets the algorithm used to encrypt OpenID Connect tokens.
|
String |
getIDTokenEncryptionResponseMethod()
Gets the encryption method used to encrypt OpenID Connect tokens.
|
String |
getIDTokenSignedResponseAlgorithm()
Gets the OpenId Token signed response algorithm.
|
long |
getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the JWT token life time in milliseconds.
|
long |
getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings)
Gets the refresh token life time in milliseconds.
|
URI |
getSectorIdentifierUri()
Gets the subject identifier uri.
|
String |
getSubValue(String id,
OAuth2ProviderSettings providerSettings)
Retrieve the sub value, appropriate for the client subject type, or null
if there are issues with its formation.
|
String |
getTokenEndpointAuthMethod()
Gets the token_endpoint_auth_method configured for this client.
|
boolean |
isIDTokenEncryptionEnabled()
Determines if ID token encryption is enabled.
|
getAccessTokenType, getAllowedResponseTypes, getAllowedScopes, getClaimDescriptions, getClientId, getClientSecret, getClientSessionURI, getDefaultScopes, getDisplayDescription, getDisplayName, getPostLogoutRedirectUris, getRedirectUris, getScopeDescriptions, getSubjectType, isConfidential, isConsentImplied, verifyJwtIdentity
String getIDTokenSignedResponseAlgorithm()
boolean isIDTokenEncryptionEnabled()
true
if ID token encryption is enabled.String getIDTokenEncryptionResponseAlgorithm()
String getIDTokenEncryptionResponseMethod()
Key getIDTokenEncryptionKey()
String getTokenEndpointAuthMethod()
URI getSectorIdentifierUri()
String getSubValue(String id, OAuth2ProviderSettings providerSettings)
long getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings) throws ServerException
providerSettings
- An instance of the OAuth2ProviderSettings.ServerException
- If any internal server error occurs.long getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings) throws ServerException
providerSettings
- An instance of the OAuth2ProviderSettings.ServerException
- If any internal server error occurs.long getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings) throws ServerException
providerSettings
- An instance of the OAuth2ProviderSettings.ServerException
- If any internal server error occurs.long getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings) throws ServerException
providerSettings
- An instance of the OAuth2ProviderSettings.ServerException
- If any internal server error occurs.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.