📂 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
›
lib
›
python3.9
›
site-packages
›
oci
›
apigateway
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/apigateway/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: jwt_authentication_policy.cpython-39.opt-1.pyc
a ���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]ZPublicKeySet) Zis_anonymous_access_allowed�type�token_header�token_query_param�token_auth_scheme�max_clock_skew_in_seconds�issuers� audiences� verify_claims�public_keysZisAnonymousAccessAllowedr ZtokenHeaderZtokenQueryParamZtokenAuthSchemeZmaxClockSkewInSecondsr r ZverifyClaimsZ publicKeysNZJWT_AUTHENTICATION)Z swagger_typesZ attribute_mapZ_is_anonymous_access_allowedZ_type� _token_header�_token_query_param�_token_auth_scheme�_max_clock_skew_in_seconds�_issuers� _audiences�_verify_claims�_public_keys)�self�kwargs� r �S/usr/lib/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 i 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 Nr"