Skip to content

getOAuthState()

@blobs/sdk v0.1.0


@blobs/sdk / utils/oauthHelpers / getOAuthState

getOAuthState(): OAuthState | null

Defined in: utils/oauthHelpers.ts:189

Read OAuth state from localStorage.

Auto-clears and returns null if the stored state is older than 30 minutes.

Returns

OAuthState | null

The persisted state, or null if none/expired/corrupt.