TokenAuthenticationStaticKeysValidationPolicy¶
-
class
oci.apigateway.models.TokenAuthenticationStaticKeysValidationPolicy(**kwargs)¶ Bases:
oci.apigateway.models.token_authentication_validation_policy.TokenAuthenticationValidationPolicyA set of static public keys that will be used to verify the JWT signature.
Attributes
TYPE_REMOTE_DISCOVERYstr(object=’’) -> str TYPE_REMOTE_JWKSstr(object=’’) -> str TYPE_STATIC_KEYSstr(object=’’) -> str additional_validation_policyGets the additional_validation_policy of this TokenAuthenticationValidationPolicy. keysGets the keys of this TokenAuthenticationStaticKeysValidationPolicy. type[Required] Gets the type of this TokenAuthenticationValidationPolicy. Methods
__init__(**kwargs)Initializes a new TokenAuthenticationStaticKeysValidationPolicy 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 TokenAuthenticationStaticKeysValidationPolicy object with values from keyword arguments. The default value of the
typeattribute of this class isSTATIC_KEYSand 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 TokenAuthenticationStaticKeysValidationPolicy. 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 TokenAuthenticationStaticKeysValidationPolicy.
- keys (list[oci.apigateway.models.StaticPublicKey]) – The value to assign to the keys property of this TokenAuthenticationStaticKeysValidationPolicy.
-
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.
-
keys¶ Gets the keys of this TokenAuthenticationStaticKeysValidationPolicy. The set of static public keys.
Returns: The keys of this TokenAuthenticationStaticKeysValidationPolicy. Return type: list[oci.apigateway.models.StaticPublicKey]
-
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
-