loginPopup method

Future<AuthResponse> loginPopup(
  1. [AuthRequest request]
)

Initiates the login process by opening a popup browser window.

Will throw an AuthException on failure.

Implementation

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

  return AuthResponse._fromJsObject(response);
}