acquireTokenPopup method

Future<AuthResponse> acquireTokenPopup(
  1. AuthRequest request

Acquires an access token using interactive authentication via a popup Window.

To renew an ID token, pass the client ID as the only scope in the request.

Will throw an AuthException on failure.


Future<AuthResponse> acquireTokenPopup(AuthRequest request) async {
  final response = await _convertMsalPromise<interop.AuthResponse>(
      _callJsMethod(() => _jsObject.acquireTokenPopup(request._jsObject)));

  return AuthResponse._fromJsObject(response);