The access token returned by an OAuth token request.
OptionalexpiresAn optional expires value (in seconds) returned by an OAuth token request.
OptionalidAn optional id token returned by an identity request (e.g. /me, Open ID Connect).
OptionalrefreshAn optional refresh token returned by an OAuth token request.
OptionalscopeThe optional space-delimited list of scopes returned by an OAuth token request. You can use this to compare the currently stored access scopes against new access scopes the extension might require in a future version, and then ask the user to re-authorize with new scopes.
The date when the token set was stored via OAuth.PKCEClient.setTokens.
Describes the TokenSet created from an OAuth provider's token response. The
accessTokenis the only required parameter but typically OAuth providers also return a refresh token, an expires value, and the scope. Securely store a token set via OAuth.PKCEClient.setTokens and retrieve it via OAuth.PKCEClient.getTokens.