📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
apigateway
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/apigateway/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: jwt_authentication_policy.pyc
a N��f�) � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AuthenticationPolicy� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#�JwtAuthenticationPolicyz� Validate a JWT token present in the header or query parameter. A valid policy must specify either tokenHeader or tokenQueryParam. c K s~ ddddddddddd� | _ dd d ddd ddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new JwtAuthenticationPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.JwtAuthenticationPolicy.type` attribute of this class is ``JWT_AUTHENTICATION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_anonymous_access_allowed: The value to assign to the is_anonymous_access_allowed property of this JwtAuthenticationPolicy. :type is_anonymous_access_allowed: bool :param type: The value to assign to the type property of this JwtAuthenticationPolicy. Allowed values for this property are: "CUSTOM_AUTHENTICATION", "JWT_AUTHENTICATION", "TOKEN_AUTHENTICATION" :type type: str :param token_header: The value to assign to the token_header property of this JwtAuthenticationPolicy. :type token_header: str :param token_query_param: The value to assign to the token_query_param property of this JwtAuthenticationPolicy. :type token_query_param: str :param token_auth_scheme: The value to assign to the token_auth_scheme property of this JwtAuthenticationPolicy. :type token_auth_scheme: str :param max_clock_skew_in_seconds: The value to assign to the max_clock_skew_in_seconds property of this JwtAuthenticationPolicy. :type max_clock_skew_in_seconds: float :param issuers: The value to assign to the issuers property of this JwtAuthenticationPolicy. :type issuers: list[str] :param audiences: The value to assign to the audiences property of this JwtAuthenticationPolicy. :type audiences: list[str] :param verify_claims: The value to assign to the verify_claims property of this JwtAuthenticationPolicy. :type verify_claims: list[oci.apigateway.models.JsonWebTokenClaim] :param public_keys: The value to assign to the public_keys property of this JwtAuthenticationPolicy. :type public_keys: oci.apigateway.models.PublicKeySet �bool�str�floatz list[str]zlist[JsonWebTokenClaim]�PublicKeySet) �is_anonymous_access_allowed�type�token_header�token_query_param�token_auth_scheme�max_clock_skew_in_seconds�issuers� audiences� verify_claims�public_keys�isAnonymousAccessAllowedr �tokenHeader�tokenQueryParam�tokenAuthScheme�maxClockSkewInSecondsr r �verifyClaims� publicKeysN�JWT_AUTHENTICATION)� swagger_types� attribute_map�_is_anonymous_access_allowed�_type� _token_header�_token_query_param�_token_auth_scheme�_max_clock_skew_in_seconds�_issuers� _audiences�_verify_claims�_public_keys)�self�kwargs� r- ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/apigateway/models/jwt_authentication_policy.py�__init__ sB 1�� z JwtAuthenticationPolicy.__init__c C s | j S )z� Gets the token_header of this JwtAuthenticationPolicy. The name of the header containing the authentication token. :return: The token_header of this JwtAuthenticationPolicy. :rtype: str �r# �r+ r- r- r. r g s z$JwtAuthenticationPolicy.token_headerc C s || _ dS )z� Sets the token_header of this JwtAuthenticationPolicy. The name of the header containing the authentication token. :param token_header: The token_header of this JwtAuthenticationPolicy. :type: str Nr0 )r+ r r- r- r. r s s c C s | j S )z� Gets the token_query_param of this JwtAuthenticationPolicy. The name of the query parameter containing the authentication token. :return: The token_query_param of this JwtAuthenticationPolicy. :rtype: str �r$ r1 r- r- r. r s z)JwtAuthenticationPolicy.token_query_paramc C s || _ dS )a Sets the token_query_param of this JwtAuthenticationPolicy. The name of the query parameter containing the authentication token. :param token_query_param: The token_query_param of this JwtAuthenticationPolicy. :type: str Nr2 )r+ r r- r- r. r � s c C s | j S )a? Gets the token_auth_scheme of this JwtAuthenticationPolicy. The authentication scheme that is to be used when authenticating the token. This must to be provided if "tokenHeader" is specified. :return: The token_auth_scheme of this JwtAuthenticationPolicy. :rtype: str �r% r1 r- r- r. r � s z)JwtAuthenticationPolicy.token_auth_schemec C s || _ dS )aO Sets the token_auth_scheme of this JwtAuthenticationPolicy. The authentication scheme that is to be used when authenticating the token. This must to be provided if "tokenHeader" is specified. :param token_auth_scheme: The token_auth_scheme of this JwtAuthenticationPolicy. :type: str Nr3 )r+ r r- r- r. r � s c C s | j S )a5 Gets the max_clock_skew_in_seconds of this JwtAuthenticationPolicy. The maximum expected time difference between the system clocks of the token issuer and the API Gateway. :return: The max_clock_skew_in_seconds of this JwtAuthenticationPolicy. :rtype: float �r&