Package com.oracle.bmc.apigateway.model
Class CustomAuthenticationPolicy.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.CustomAuthenticationPolicy.Builder
 
- 
- Enclosing class:
- CustomAuthenticationPolicy
 
 public static class CustomAuthenticationPolicy.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomAuthenticationPolicybuild()CustomAuthenticationPolicy.BuildercacheKey(List<String> cacheKey)A list of keys from “parameters” attribute value whose values will be added to the cache key.CustomAuthenticationPolicy.Buildercopy(CustomAuthenticationPolicy model)CustomAuthenticationPolicy.BuilderfunctionId(String functionId)The OCID of the Oracle Functions function resource.CustomAuthenticationPolicy.BuilderisAnonymousAccessAllowed(Boolean isAnonymousAccessAllowed)CustomAuthenticationPolicy.Builderparameters(Map<String,String> parameters)A map where key is a user defined string and value is a context expressions whose values will be sent to the custom auth function.CustomAuthenticationPolicy.BuildertokenHeader(String tokenHeader)The name of the header containing the authentication token.CustomAuthenticationPolicy.BuildertokenQueryParam(String tokenQueryParam)The name of the query parameter containing the authentication token.CustomAuthenticationPolicy.BuildervalidationFailurePolicy(ValidationFailurePolicy validationFailurePolicy)
 
- 
- 
- 
Method Detail- 
isAnonymousAccessAllowedpublic CustomAuthenticationPolicy.Builder isAnonymousAccessAllowed(Boolean isAnonymousAccessAllowed) 
 - 
functionIdpublic CustomAuthenticationPolicy.Builder functionId(String functionId) The OCID of the Oracle Functions function resource.- Parameters:
- functionId- the value to set
- Returns:
- this builder
 
 - 
tokenHeaderpublic CustomAuthenticationPolicy.Builder tokenHeader(String tokenHeader) The name of the header containing the authentication token.- Parameters:
- tokenHeader- the value to set
- Returns:
- this builder
 
 - 
tokenQueryParampublic CustomAuthenticationPolicy.Builder tokenQueryParam(String tokenQueryParam) The name of the query parameter containing the authentication token.- Parameters:
- tokenQueryParam- the value to set
- Returns:
- this builder
 
 - 
parameterspublic CustomAuthenticationPolicy.Builder parameters(Map<String,String> parameters) A map where key is a user defined string and value is a context expressions whose values will be sent to the custom auth function.Values should contain an expression. Example: {“foo”: “request.header[abc]”} - Parameters:
- parameters- the value to set
- Returns:
- this builder
 
 - 
cacheKeypublic CustomAuthenticationPolicy.Builder cacheKey(List<String> cacheKey) A list of keys from “parameters” attribute value whose values will be added to the cache key.- Parameters:
- cacheKey- the value to set
- Returns:
- this builder
 
 - 
validationFailurePolicypublic CustomAuthenticationPolicy.Builder validationFailurePolicy(ValidationFailurePolicy validationFailurePolicy) 
 - 
buildpublic CustomAuthenticationPolicy build() 
 - 
copypublic CustomAuthenticationPolicy.Builder copy(CustomAuthenticationPolicy model) 
 
- 
 
-