Skip to main content
Version: 5.x

Interface: AuthResult

Properties

accessToken

Optional accessToken: string

The access token returned from the auth provider request.


config

config: Pick<AuthConnectConfig, "platform" | "android" | "ios" | "web" | "logLevel">

An object representing the AuthConnect config used for the result.


expiresIn

Optional expiresIn: number

Timestamp for when the access token expires.


idToken

Optional idToken: string

The id token returned from the auth provider request.


provider

provider: Provider

An object representing the auth provider request details used for the result.


rawResult

rawResult: string

The raw response from the auth provider.


receivedAt

receivedAt: number

Timestamp of when the response was received.


refreshToken

Optional refreshToken: string

The refresh token returned from the auth provider request.


scope

Optional scope: string


state

state: Object

Index signature

[key: string]: string


tokenType

tokenType: string

The type of token returned from the auth provider request.