TokenAuthenticationValidationPolicy¶
-
class
oci.apigateway.models.
TokenAuthenticationValidationPolicy
(**kwargs)¶ Bases:
object
Authentication Policies for the Token Authentication types.
Attributes
TYPE_REMOTE_DISCOVERY
A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. TYPE_REMOTE_JWKS
A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. TYPE_STATIC_KEYS
A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. additional_validation_policy
Gets the additional_validation_policy of this TokenAuthenticationValidationPolicy. type
[Required] Gets the type of this TokenAuthenticationValidationPolicy. Methods
__init__
(**kwargs)Initializes a new TokenAuthenticationValidationPolicy 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'¶ A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. This constant has a value of “REMOTE_DISCOVERY”
-
TYPE_REMOTE_JWKS
= 'REMOTE_JWKS'¶ A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. This constant has a value of “REMOTE_JWKS”
-
TYPE_STATIC_KEYS
= 'STATIC_KEYS'¶ A constant which can be used with the type property of a TokenAuthenticationValidationPolicy. This constant has a value of “STATIC_KEYS”
-
__init__
(**kwargs)¶ Initializes a new TokenAuthenticationValidationPolicy object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
TokenAuthenticationRemoteJWKSValidationPolicy
TokenAuthenticationRemoteDiscoveryValidationPolicy
TokenAuthenticationStaticKeysValidationPolicy
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 TokenAuthenticationValidationPolicy. 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’.
- additional_validation_policy (oci.apigateway.models.AdditionalValidationPolicy) – The value to assign to the additional_validation_policy property of this TokenAuthenticationValidationPolicy.
-
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
-
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.
-
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
-