Package com.oracle.bmc.oda.model
Class UpdateAuthenticationProviderDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.oda.model.UpdateAuthenticationProviderDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class UpdateAuthenticationProviderDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProperties to update an Authentication Provider.
 Note: Objects should always be created or deserialized using theUpdateAuthenticationProviderDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUpdateAuthenticationProviderDetails.Builder, which maintain a set of all explicitly set fields calledUpdateAuthenticationProviderDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateAuthenticationProviderDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description UpdateAuthenticationProviderDetails(String tokenEndpointUrl, String authorizationEndpointUrl, String shortAuthorizationCodeRequestUrl, String revokeTokenEndpointUrl, String clientId, String clientSecret, String scopes, String subjectClaim, Integer refreshTokenRetentionPeriodInDays, String redirectUrl, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAuthenticationProviderDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAuthorizationEndpointUrl()The IDPs URL for the page that users authenticate with by entering the user name and password.StringgetClientId()The client ID for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.StringgetClientSecret()The client secret for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.Map<String,Map<String,Object>>getDefinedTags()Usage of predefined tag keys.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type, or scope.StringgetRedirectUrl()The OAuth Redirect URL.IntegergetRefreshTokenRetentionPeriodInDays()The number of days to keep the refresh token in the Digital Assistant cache.StringgetRevokeTokenEndpointUrl()If you want to revoke all the refresh tokens and access tokens of the logged-in user from a dialog flow, then you need the IDP’s revoke refresh token URL.StringgetScopes()A space-separated list of the scopes that must be included when Digital Assistant requests an access token from the provider.StringgetShortAuthorizationCodeRequestUrl()A shortened version of the authorization URL, which you can get from a URL shortener service (one that allows you to send query parameters).StringgetSubjectClaim()The access-token profile claim to use to identify the user.StringgetTokenEndpointUrl()The IDPs URL for requesting access tokens.inthashCode()UpdateAuthenticationProviderDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UpdateAuthenticationProviderDetails@Deprecated @ConstructorProperties({"tokenEndpointUrl","authorizationEndpointUrl","shortAuthorizationCodeRequestUrl","revokeTokenEndpointUrl","clientId","clientSecret","scopes","subjectClaim","refreshTokenRetentionPeriodInDays","redirectUrl","freeformTags","definedTags"}) public UpdateAuthenticationProviderDetails(String tokenEndpointUrl, String authorizationEndpointUrl, String shortAuthorizationCodeRequestUrl, String revokeTokenEndpointUrl, String clientId, String clientSecret, String scopes, String subjectClaim, Integer refreshTokenRetentionPeriodInDays, String redirectUrl, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateAuthenticationProviderDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateAuthenticationProviderDetails.Builder toBuilder() 
 - 
getTokenEndpointUrlpublic String getTokenEndpointUrl() The IDPs URL for requesting access tokens.- Returns:
- the value
 
 - 
getAuthorizationEndpointUrlpublic String getAuthorizationEndpointUrl() The IDPs URL for the page that users authenticate with by entering the user name and password.- Returns:
- the value
 
 - 
getShortAuthorizationCodeRequestUrlpublic String getShortAuthorizationCodeRequestUrl() A shortened version of the authorization URL, which you can get from a URL shortener service (one that allows you to send query parameters).You might need this because the generated authorization-code-request URL could be too long for SMS and older smart phones. - Returns:
- the value
 
 - 
getRevokeTokenEndpointUrlpublic String getRevokeTokenEndpointUrl() If you want to revoke all the refresh tokens and access tokens of the logged-in user from a dialog flow, then you need the IDP’s revoke refresh token URL.If you provide this URL, then you can use the System.OAuth2ResetTokens component to revoke the user’s tokens for this service. - Returns:
- the value
 
 - 
getClientIdpublic String getClientId() The client ID for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.With Microsoft identity platform, use the application ID. - Returns:
- the value
 
 - 
getClientSecretpublic String getClientSecret() The client secret for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.With Microsoft identity platform, use the application secret. - Returns:
- the value
 
 - 
getScopespublic String getScopes() A space-separated list of the scopes that must be included when Digital Assistant requests an access token from the provider.Include all the scopes that are required to access the resources. If refresh tokens are enabled, include the scope that\u2019s necessary to get the refresh token (typically offline_access). - Returns:
- the value
 
 - 
getSubjectClaimpublic String getSubjectClaim() The access-token profile claim to use to identify the user.- Returns:
- the value
 
 - 
getRefreshTokenRetentionPeriodInDayspublic Integer getRefreshTokenRetentionPeriodInDays() The number of days to keep the refresh token in the Digital Assistant cache.- Returns:
- the value
 
 - 
getRedirectUrlpublic String getRedirectUrl() The OAuth Redirect URL.- Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() Simple key-value pair that is applied without any predefined name, type, or scope.Example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-