authorizeWithCredentials static method

Future<void> authorizeWithCredentials(
  1. String credentials
)

Authorize with Credentials

use getCredentials() to get Access and Refresh Token after successful authorizePKCE(). authorizeWithCredentials() will authorize without user interaction if access and refresh tokens are valid. It should automatically refresh the access token if expired

Implementation

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