Package com.oracle.bmc.oda.model
Class CreateAuthenticationProviderDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.model.CreateAuthenticationProviderDetails.Builder
 
- 
- Enclosing class:
- CreateAuthenticationProviderDetails
 
 public static class CreateAuthenticationProviderDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAuthenticationProviderDetails.BuilderauthorizationEndpointUrl(String authorizationEndpointUrl)The IDPs URL for the page that users authenticate with by entering the user name and password.CreateAuthenticationProviderDetailsbuild()CreateAuthenticationProviderDetails.BuilderclientId(String clientId)The client ID for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.CreateAuthenticationProviderDetails.BuilderclientSecret(String clientSecret)The client secret for the IDP application (OAuth Client) that was registered as described in Identity Provider Registration.CreateAuthenticationProviderDetails.Buildercopy(CreateAuthenticationProviderDetails model)CreateAuthenticationProviderDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.CreateAuthenticationProviderDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.CreateAuthenticationProviderDetails.BuildergrantType(AuthenticationGrantType grantType)The grant type for the Authentication Provider.CreateAuthenticationProviderDetails.BuilderidentityProvider(AuthenticationIdentityProvider identityProvider)Which type of Identity Provider (IDP) you are using.CreateAuthenticationProviderDetails.BuilderisVisible(Boolean isVisible)Whether this Authentication Provider is visible in the ODA UI.CreateAuthenticationProviderDetails.Buildername(String name)A name to identify the Authentication Provider.CreateAuthenticationProviderDetails.BuilderredirectUrl(String redirectUrl)The OAuth Redirect URL.CreateAuthenticationProviderDetails.BuilderrefreshTokenRetentionPeriodInDays(Integer refreshTokenRetentionPeriodInDays)The number of days to keep the refresh token in the Digital Assistant cache.CreateAuthenticationProviderDetails.BuilderrevokeTokenEndpointUrl(String revokeTokenEndpointUrl)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.CreateAuthenticationProviderDetails.Builderscopes(String scopes)A space-separated list of the scopes that must be included when Digital Assistant requests an access token from the provider.CreateAuthenticationProviderDetails.BuildershortAuthorizationCodeRequestUrl(String shortAuthorizationCodeRequestUrl)A shortened version of the authorization URL, which you can get from a URL shortener service (one that allows you to send query parameters).CreateAuthenticationProviderDetails.BuildersubjectClaim(String subjectClaim)The access-token profile claim to use to identify the user.CreateAuthenticationProviderDetails.BuildertokenEndpointUrl(String tokenEndpointUrl)The IDPs URL for requesting access tokens.
 
- 
- 
- 
Method Detail- 
grantTypepublic CreateAuthenticationProviderDetails.Builder grantType(AuthenticationGrantType grantType) The grant type for the Authentication Provider.- Parameters:
- grantType- the value to set
- Returns:
- this builder
 
 - 
identityProviderpublic CreateAuthenticationProviderDetails.Builder identityProvider(AuthenticationIdentityProvider identityProvider) Which type of Identity Provider (IDP) you are using.- Parameters:
- identityProvider- the value to set
- Returns:
- this builder
 
 - 
namepublic CreateAuthenticationProviderDetails.Builder name(String name) A name to identify the Authentication Provider.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
tokenEndpointUrlpublic CreateAuthenticationProviderDetails.Builder tokenEndpointUrl(String tokenEndpointUrl) The IDPs URL for requesting access tokens.- Parameters:
- tokenEndpointUrl- the value to set
- Returns:
- this builder
 
 - 
authorizationEndpointUrlpublic CreateAuthenticationProviderDetails.Builder authorizationEndpointUrl(String authorizationEndpointUrl) The IDPs URL for the page that users authenticate with by entering the user name and password.- Parameters:
- authorizationEndpointUrl- the value to set
- Returns:
- this builder
 
 - 
shortAuthorizationCodeRequestUrlpublic CreateAuthenticationProviderDetails.Builder shortAuthorizationCodeRequestUrl(String shortAuthorizationCodeRequestUrl) 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. - Parameters:
- shortAuthorizationCodeRequestUrl- the value to set
- Returns:
- this builder
 
 - 
revokeTokenEndpointUrlpublic CreateAuthenticationProviderDetails.Builder revokeTokenEndpointUrl(String revokeTokenEndpointUrl) 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. - Parameters:
- revokeTokenEndpointUrl- the value to set
- Returns:
- this builder
 
 - 
clientIdpublic CreateAuthenticationProviderDetails.Builder clientId(String clientId) 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. - Parameters:
- clientId- the value to set
- Returns:
- this builder
 
 - 
clientSecretpublic CreateAuthenticationProviderDetails.Builder clientSecret(String clientSecret) 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. - Parameters:
- clientSecret- the value to set
- Returns:
- this builder
 
 - 
scopespublic CreateAuthenticationProviderDetails.Builder scopes(String scopes) 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). - Parameters:
- scopes- the value to set
- Returns:
- this builder
 
 - 
subjectClaimpublic CreateAuthenticationProviderDetails.Builder subjectClaim(String subjectClaim) The access-token profile claim to use to identify the user.- Parameters:
- subjectClaim- the value to set
- Returns:
- this builder
 
 - 
refreshTokenRetentionPeriodInDayspublic CreateAuthenticationProviderDetails.Builder refreshTokenRetentionPeriodInDays(Integer refreshTokenRetentionPeriodInDays) The number of days to keep the refresh token in the Digital Assistant cache.- Parameters:
- refreshTokenRetentionPeriodInDays- the value to set
- Returns:
- this builder
 
 - 
redirectUrlpublic CreateAuthenticationProviderDetails.Builder redirectUrl(String redirectUrl) The OAuth Redirect URL.- Parameters:
- redirectUrl- the value to set
- Returns:
- this builder
 
 - 
isVisiblepublic CreateAuthenticationProviderDetails.Builder isVisible(Boolean isVisible) Whether this Authentication Provider is visible in the ODA UI.- Parameters:
- isVisible- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateAuthenticationProviderDetails.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type, or scope.Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateAuthenticationProviderDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Usage of predefined tag keys.These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateAuthenticationProviderDetails build() 
 - 
copypublic CreateAuthenticationProviderDetails.Builder copy(CreateAuthenticationProviderDetails model) 
 
- 
 
-