OAuthState
@blobs/sdk / utils/oauthHelpers / OAuthState
Defined in: utils/oauthHelpers.ts:46
State stored in localStorage while an OAuth flow is in flight.
Lets the callback page validate the returned state and the parent window
resume from the correct redirect URL.
Properties
state
state:
string
Defined in: utils/oauthHelpers.ts:48
Random state token to compare against the callback.
provider_id
provider_id:
string
Defined in: utils/oauthHelpers.ts:50
Provider being authorized.
timestamp
timestamp:
number
Defined in: utils/oauthHelpers.ts:52
Epoch ms when the state was saved (used for expiry checks).
redirect_url
redirect_url:
string
Defined in: utils/oauthHelpers.ts:54
URL the user was on when they initiated the flow.