Package com.oracle.bmc.apigateway.model
Class TokenAuthenticationPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.TokenAuthenticationPolicy.Builder
 
- 
- Enclosing class:
- TokenAuthenticationPolicy
 
 public static class TokenAuthenticationPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
isAnonymousAccessAllowedpublic TokenAuthenticationPolicy.Builder isAnonymousAccessAllowed(Boolean isAnonymousAccessAllowed) 
 - 
tokenHeaderpublic TokenAuthenticationPolicy.Builder tokenHeader(String tokenHeader) The name of the header containing the authentication token.- Parameters:
- tokenHeader- the value to set
- Returns:
- this builder
 
 - 
tokenQueryParampublic TokenAuthenticationPolicy.Builder tokenQueryParam(String tokenQueryParam) The name of the query parameter containing the authentication token.- Parameters:
- tokenQueryParam- the value to set
- Returns:
- this builder
 
 - 
tokenAuthSchemepublic TokenAuthenticationPolicy.Builder tokenAuthScheme(String tokenAuthScheme) The authentication scheme that is to be used when authenticating the token.This must to be provided if “tokenHeader” is specified. - Parameters:
- tokenAuthScheme- the value to set
- Returns:
- this builder
 
 - 
maxClockSkewInSecondspublic TokenAuthenticationPolicy.Builder maxClockSkewInSeconds(Float maxClockSkewInSeconds) The maximum expected time difference between the system clocks of the token issuer and the API Gateway.- Parameters:
- maxClockSkewInSeconds- the value to set
- Returns:
- this builder
 
 - 
validationPolicypublic TokenAuthenticationPolicy.Builder validationPolicy(TokenAuthenticationValidationPolicy validationPolicy) 
 - 
validationFailurePolicypublic TokenAuthenticationPolicy.Builder validationFailurePolicy(ValidationFailurePolicy validationFailurePolicy) 
 - 
buildpublic TokenAuthenticationPolicy build() 
 - 
copypublic TokenAuthenticationPolicy.Builder copy(TokenAuthenticationPolicy model) 
 
- 
 
-