Skip to content

SSOState

@blobs/sdk v0.1.0


@blobs/sdk / sso / SSOState

Defined in: sso/types.ts:140

Persistent SSO bookkeeping kept in localStorage so other tabs of the same app can observe in-flight requests, available sessions, and recent SSO history.

Properties

activeRequest?

optional activeRequest?: object

Defined in: sso/types.ts:142

Active SSO request

id

id: string

networkName

networkName: string

requestedBy

requestedBy: string

timestamp

timestamp: number

config

config: SSOConfig


availableSessions

availableSessions: object[]

Defined in: sso/types.ts:151

Available sessions for selection

networkName

networkName: string

email

email: string

userID

userID: string

lastActive

lastActive: number


history?

optional history?: object[]

Defined in: sso/types.ts:159

Recent SSO activity for debugging

timestamp

timestamp: number

type

type: "error" | "success" | "cancelled"

networkName

networkName: string

message?

optional message?: string