getAuthToken abstract method
VKWebAppGetAuthToken
allows you to request access rights from the user
and get a key to work with the API. At the same time,
you do not need to request a token to identify a user in the service.
Use the signature of the launch parameters for this
Platforms: iOS, Android, Web, Mobile Web
app_id
- application ID.
scope
- list of access rights
Implementation
Future<VKWebAppGetAuthTokenResult> getAuthToken({
required int appId,
required List<Scope> scope,
});