RemoteJsonWebKeySet¶
- class oci.apigateway.models.RemoteJsonWebKeySet(**kwargs)¶
Bases:
PublicKeySetA set of public keys that is retrieved at run-time from a remote location to verify the JWT signature. The set should only contain JWK-formatted keys.
Attributes:
A constant which can be used with the type property of a PublicKeySet.
A constant which can be used with the type property of a PublicKeySet.
Gets the is_ssl_verify_disabled of this RemoteJsonWebKeySet.
Gets the max_cache_duration_in_hours of this RemoteJsonWebKeySet.
[Required] Gets the type of this PublicKeySet.
[Required] Gets the uri of this RemoteJsonWebKeySet.
Methods:
__init__(**kwargs)Initializes a new RemoteJsonWebKeySet 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_JWKS = 'REMOTE_JWKS'¶
A constant which can be used with the type property of a PublicKeySet. 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 PublicKeySet. This constant has a value of “STATIC_KEYS”
- __init__(**kwargs)¶
Initializes a new RemoteJsonWebKeySet object with values from keyword arguments. The default value of the
typeattribute of this class isREMOTE_JWKSand 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 RemoteJsonWebKeySet. Allowed values for this property are: “STATIC_KEYS”, “REMOTE_JWKS”
uri (str) – The value to assign to the uri property of this RemoteJsonWebKeySet.
is_ssl_verify_disabled (bool) – The value to assign to the is_ssl_verify_disabled property of this RemoteJsonWebKeySet.
max_cache_duration_in_hours (int) – The value to assign to the max_cache_duration_in_hours property of this RemoteJsonWebKeySet.
- 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.
- property is_ssl_verify_disabled¶
Gets the is_ssl_verify_disabled of this RemoteJsonWebKeySet. Defines whether or not to uphold SSL verification.
- Returns
The is_ssl_verify_disabled of this RemoteJsonWebKeySet.
- Return type
bool
- property max_cache_duration_in_hours¶
Gets the max_cache_duration_in_hours of this RemoteJsonWebKeySet. The duration for which the JWKS should be cached before it is fetched again.
- Returns
The max_cache_duration_in_hours of this RemoteJsonWebKeySet.
- Return type
int
- property type¶
[Required] Gets the type of this PublicKeySet. Type of the public key set.
Allowed values for this property are: “STATIC_KEYS”, “REMOTE_JWKS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this PublicKeySet.
- Return type
str
- property uri¶
[Required] Gets the uri of this RemoteJsonWebKeySet. The uri from which to retrieve the key. It must be accessible without authentication.
- Returns
The uri of this RemoteJsonWebKeySet.
- Return type
str