Class ClientConfigurationEntity
java.lang.Object
com.atlassian.oauth2.client.api.storage.config.ClientConfigurationEntity
- All Implemented Interfaces:
ClientConfiguration
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getId
-
getName
-
getDescription
-
getGrantType
Description copied from interface:ClientConfigurationReturns the grant type for the OAuth 2 flow. Defaults toGrantType.AUTHORIZATION_CODE_GRANT.- Specified by:
getGrantTypein interfaceClientConfiguration- Returns:
- the grant type
-
getProviderType
- Specified by:
getProviderTypein interfaceClientConfiguration
-
getClientId
- Specified by:
getClientIdin interfaceClientConfiguration
-
getClientSecret
- Specified by:
getClientSecretin interfaceClientConfiguration- Returns:
- the client secret. Will be an empty string if the client certificate is used instead
-
getClientCertificate
Description copied from interface:ClientConfigurationJSON client certificate for authentication. For now only Google Client Credentials is supported- Specified by:
getClientCertificatein interfaceClientConfiguration- Returns:
- the base 64 encoded certificate
-
getAuthorizationEndpoint
Description copied from interface:ClientConfigurationReturns the authorization endpoint url for the OAuth 2 flow.- Specified by:
getAuthorizationEndpointin interfaceClientConfiguration- Returns:
- the authorization endpoint url or empty string when grant type does not require authorization.
- See Also:
-
getTokenEndpoint
- Specified by:
getTokenEndpointin interfaceClientConfiguration
-
getScopes
- Specified by:
getScopesin interfaceClientConfiguration
-
getCustomParams
- Specified by:
getCustomParamsin interfaceClientConfiguration- Returns:
- custom parameters to be sent to the authorization server
-
toBuilder
-
builder
-
builder
-
builder
@Nonnull public static ClientConfigurationEntity.Builder builder(@Nonnull ClientConfigurationEntity data) -
equals
-
hashCode
public int hashCode() -
toString
-