authorizeWithAccessToken static method

Future<void> authorizeWithAccessToken(
  1. String accessToken
)

Authorize with AccessToken

use getAccessToken() to get Access Token after successful authorize(). authorizeWithAccessToken() will authorize without user interaction if access token is valid.

Implementation

static Future<void> authorizeWithAccessToken(String accessToken) async {
  await _channel
      .invokeMethod('authorizeWithAccessToken', {'accessToken': accessToken});
}