Skip to content

SSOResult

@blobs/sdk v0.1.0


@blobs/sdk / sso / SSOResult

Defined in: sso/types.ts:97

Tokens and user info returned by a successful SSO flow.

Properties

success

success: boolean

Defined in: sso/types.ts:99

Always true for results delivered to a SUCCESS callback.


networkName

networkName: string

Defined in: sso/types.ts:101

Network the user authenticated against.


accessToken

accessToken: string

Defined in: sso/types.ts:103

Bearer token for the new session.


refreshToken

refreshToken: string

Defined in: sso/types.ts:105

Refresh token to renew the session.


expiresIn

expiresIn: number

Defined in: sso/types.ts:107

Access-token TTL in seconds.


user

user: object

Defined in: sso/types.ts:109

Authenticated user’s profile snapshot.

id

id: string

Server-side user id.

email

email: string

User’s email.

username?

optional username?: string

Optional handle/login.

displayName?

optional displayName?: string

Optional human-readable display name.


timestamp

timestamp: number

Defined in: sso/types.ts:120

Epoch ms when the result was produced.