TokenAuthenticationRemoteDiscoveryValidationPolicy¶
-
class
oci.apigateway.models.
TokenAuthenticationRemoteDiscoveryValidationPolicy
(**kwargs)¶ Bases:
oci.apigateway.models.token_authentication_validation_policy.TokenAuthenticationValidationPolicy
Instrospect Url based validation retrieved at run-time from a remote location to verify the provided token.
Attributes
TYPE_REMOTE_DISCOVERY
str(object=’’) -> str TYPE_REMOTE_JWKS
str(object=’’) -> str TYPE_STATIC_KEYS
str(object=’’) -> str additional_validation_policy
Gets the additional_validation_policy of this TokenAuthenticationValidationPolicy. client_details
[Required] Gets the client_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy. is_ssl_verify_disabled
Gets the is_ssl_verify_disabled of this TokenAuthenticationRemoteDiscoveryValidationPolicy. max_cache_duration_in_hours
Gets the max_cache_duration_in_hours of this TokenAuthenticationRemoteDiscoveryValidationPolicy. source_uri_details
[Required] Gets the source_uri_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy. type
[Required] Gets the type of this TokenAuthenticationValidationPolicy. Methods
__init__
(**kwargs)Initializes a new TokenAuthenticationRemoteDiscoveryValidationPolicy object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_REMOTE_DISCOVERY
= 'REMOTE_DISCOVERY'¶
-
TYPE_REMOTE_JWKS
= 'REMOTE_JWKS'¶
-
TYPE_STATIC_KEYS
= 'STATIC_KEYS'¶
-
__init__
(**kwargs)¶ Initializes a new TokenAuthenticationRemoteDiscoveryValidationPolicy object with values from keyword arguments. The default value of the
type
attribute of this class isREMOTE_DISCOVERY
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Allowed values for this property are: “STATIC_KEYS”, “REMOTE_JWKS”, “REMOTE_DISCOVERY”
- additional_validation_policy (oci.apigateway.models.AdditionalValidationPolicy) – The value to assign to the additional_validation_policy property of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
- client_details (oci.apigateway.models.ClientAppDetails) – The value to assign to the client_details property of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
- source_uri_details (oci.apigateway.models.SourceUriDetails) – The value to assign to the source_uri_details property of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
- is_ssl_verify_disabled (bool) – The value to assign to the is_ssl_verify_disabled property of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
- max_cache_duration_in_hours (int) – The value to assign to the max_cache_duration_in_hours property of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
-
additional_validation_policy
¶ Gets the additional_validation_policy of this TokenAuthenticationValidationPolicy.
Returns: The additional_validation_policy of this TokenAuthenticationValidationPolicy. Return type: oci.apigateway.models.AdditionalValidationPolicy
-
client_details
¶ [Required] Gets the client_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
Returns: The client_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Return type: oci.apigateway.models.ClientAppDetails
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
is_ssl_verify_disabled
¶ Gets the is_ssl_verify_disabled of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Defines whether or not to uphold SSL verification.
Returns: The is_ssl_verify_disabled of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Return type: bool
-
max_cache_duration_in_hours
¶ Gets the max_cache_duration_in_hours of this TokenAuthenticationRemoteDiscoveryValidationPolicy. The duration for which the introspect URL response should be cached before it is fetched again.
Returns: The max_cache_duration_in_hours of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Return type: int
-
source_uri_details
¶ [Required] Gets the source_uri_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy.
Returns: The source_uri_details of this TokenAuthenticationRemoteDiscoveryValidationPolicy. Return type: oci.apigateway.models.SourceUriDetails
-
type
¶ [Required] Gets the type of this TokenAuthenticationValidationPolicy. Type of the token validation policy.
Allowed values for this property are: “STATIC_KEYS”, “REMOTE_JWKS”, “REMOTE_DISCOVERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this TokenAuthenticationValidationPolicy. Return type: str
-