メインコンテンツまでスキップ

Interface: TokenSet

The tokens and decoded claims produced by a successful auth exchange.

Remarks​

Most integrations should use createUpbond instead.

Properties​

accessToken​

accessToken: string

OAuth access token for the issuer's userinfo/management surfaces.


claims​

claims: IdTokenClaims

Decoded (and boundary-validated) id_token claims.


expiresAt​

expiresAt: number

Epoch seconds; the id_token exp when the token endpoint omits expires_in.


idToken​

idToken: string

OIDC id_token. Single-use at the Web3Auth network — never resubmit a spent one.


refreshToken?​

optional refreshToken?: string

Present when the client requested offline_access (widget host).