![]() ![]() ![]() ![]() Used to ensure token will not expire between the time of retrieval and the time the request reaches the actual server. Number of seconds before actual token expiry where token will be considered as expired. Value of the response_type query parameter if not already provided in authorization URL. "" must be present as it will be replaced by the actual token. ![]() Name of the header field used to send token.įormat used to send the token value. In case received code is not valid, this is the maximum amount of milliseconds the failure page will be displayed in your browser. In case a code is successfully received, this is the maximum amount of milliseconds the success page will be displayed in your browser. Maximum amount of seconds to wait for a code or a token to be received once requested. The port on which the server listening for the OAuth 2 code will be started. get ( '', auth = OAuth2AuthorizationCode ( '', '' )) Parameters NameĬustom endpoint that will be used as redirect_uri the following way: Optional import requests from requests_auth import OAuth2AuthorizationCode requests. Use requests_auth.OAuth2AuthorizationCode to configure this kind of authentication. Authorization Code flowĪuthorization Code Grant is implemented following rfc6749. If the one you are looking for is not yet supported, feel free to ask for its implementation. Resource Owner Password Credentials flow.Some of the supported authentication Available authentication Provides authentication classes to be used with requests authentication parameter. ![]()
0 Comments
Leave a Reply. |