Skip to main content
Interface for OAuth manager implementations.

Methods

getOAuthFlowState()

Gets the OAuth flow state.

Returns

Promise< | null | OAuthFlowState>

setOAuthFlowState()

Sets the OAuth flow state.

Parameters

Returns

Promise<void>

addOAuthStateChangeCallback()

Adds a callback to be called when the OAuth state changes.

Parameters

Returns

Promise<void>

clearOAuthFlowState()

Clears the OAuth flow state.

Returns

Promise<void>

handleOAuthCode()

Awaitable method whose promise only resolves when the OAuth manager is ready to be used.

Parameters

Returns

Promise<void>