目录

TokenParams

Interface Info

export interface TokenParams

Wrapper of the verifyAccessToken method.

Public Field Summary

Name

Type

Description

accessToken

string

User's access token, which is generated when a user signs in on a device. This parameter cannot be left empty.

checkRevoked

boolean

Indicates whether to authenticate a user's access token on the cloud server of AppGallery Connect Auth Service, so as to check whether the access token has been revoked.

true: Authentication will be performed.

false: Authentication will not be performed.