Authorization Class

Authorization payload.

Constructor

Authorization(*, code: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
code
str

Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Only used during PUT/PATCH operations. The secret is cleared during GET.

Default value: None

Variables

Name Description
code
str

Gets or sets one-time OAuth code to exchange for refresh and access tokens.

Only used during PUT/PATCH operations. The secret is cleared during GET.