관리-도구
편집 파일: web_application.cpython-39.pyc
a \��`w) � @ s@ d Z ddlZddlmZmZmZ ddlmZ G dd� de�ZdS ) z� oauthlib.oauth2.rfc6749 ~~~~~~~~~~~~~~~~~~~~~~~ This module is an implementation of various logic needed for consuming and providing OAuth 2.0 RFC6749. � N� )�!parse_authorization_code_response�prepare_grant_uri�prepare_token_request� )�Clientc sD e Zd ZdZdZd� fdd� Zddd�Zdd d�Zddd �Z� Z S )�WebApplicationClienta> A client utilizing the authorization code grant workflow. A web application is a confidential client running on a web server. Resource owners access the client via an HTML user interface rendered in a user-agent on the device used by the resource owner. The client credentials as well as any access token issued to the client are stored on the web server and are not exposed to or accessible by the resource owner. The authorization code grant type is used to obtain both access tokens and refresh tokens and is optimized for confidential clients. As a redirection-based flow, the client must be capable of interacting with the resource owner's user-agent (typically a web browser) and capable of receiving incoming requests (via redirection) from the authorization server. Zauthorization_codeNc s t � j|fi |�� || _d S )N)�super�__init__�code)�self� client_idr �kwargs�� __class__� �S/usr/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/clients/web_application.pyr '