Skip to main content

grants.oauth2.base

BaseOauth2Grant Objects​

class BaseOauth2Grant(BaseGrant)

A base class for oauth2 grants.

base_url​

The base url to use for the grant

client_id​

The client id to use for the grant

client_secret​

The client secret to use for the grant

scopes​

The scopes to use for the grant

authorize_path​

The authorize path to use for the grant (relative to the base url)

refresh_path​

The refresh path to use for the grant (relative to the base url)

token_path​

The token path to use for the grant (relative to the base url)

scope_delimiter​

The scope delimiter to use for the grant default is a space

allow_insecure​

Whether to allow insecure connections

append_trailing_slash​

Whether to append a trailing slash to the base url