Interface AuthenticationTokens

Encapsulates the authentication tokens obtained from a successful authentication.

Param: idToken

ID token containing the user's identity attributes.

Param: accessToken

access token required for authorizing API access.

Param: refreshToken

refresh token used for refreshing ID and access tokens.

Param: tokenExpiry

expiry of ID and access tokens in milliseconds.

interface AuthenticationTokens {
    accessToken: string;
    idToken: string;
    refreshToken: string;
    tokenExpiry: number;
}

Properties

accessToken: string
idToken: string
refreshToken: string
tokenExpiry: number