onReceivedLoginRequest method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebViewClient.onReceivedLoginRequest', apiUrl: 'https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedLoginRequest(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20java.lang.String)')])
void onReceivedLoginRequest(
  1. LoginRequest loginRequest
)

Event fired when a request to automatically log in the user has been processed.

loginRequest contains the realm, account and args of the login request.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • loginRequest: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'WebViewClient.onReceivedLoginRequest',
      apiUrl:
          'https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedLoginRequest(android.webkit.WebView,%20java.lang.String,%20java.lang.String,%20java.lang.String)',
    ),
  ],
)
void onReceivedLoginRequest(LoginRequest loginRequest) {}