DynamicAuthenticationPolicy¶
- class oci.apigateway.models.DynamicAuthenticationPolicy(**kwargs)¶
Bases:
objectPolicy on how to authenticate requests when multiple authentication options are configured for a deployment. For an incoming request, the value of selector specified under selectionSource will be matched against the keys specified for each authentication server. The authentication server whose key matches the value of selector will be used for authentication.
Methods:
__init__(**kwargs)Initializes a new DynamicAuthenticationPolicy object with values from keyword arguments.
Attributes:
[Required] Gets the authentication_servers of this DynamicAuthenticationPolicy.
[Required] Gets the selection_source of this DynamicAuthenticationPolicy.
- __init__(**kwargs)¶
Initializes a new DynamicAuthenticationPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
selection_source (oci.apigateway.models.SelectionSourcePolicy) – The value to assign to the selection_source property of this DynamicAuthenticationPolicy.
authentication_servers (list[oci.apigateway.models.AuthenticationServerPolicy]) – The value to assign to the authentication_servers property of this DynamicAuthenticationPolicy.
- property authentication_servers¶
[Required] Gets the authentication_servers of this DynamicAuthenticationPolicy. List of authentication servers to choose from during dynamic authentication.
- Returns
The authentication_servers of this DynamicAuthenticationPolicy.
- Return type
- property selection_source¶
[Required] Gets the selection_source of this DynamicAuthenticationPolicy.
- Returns
The selection_source of this DynamicAuthenticationPolicy.
- Return type