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
The lifetime in seconds of the access token. For example, the value 3600
denotes that the access token will expire in one hour from the time the AuthResult
was generated.
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.