Class WebViewAuth
-
- All Implemented Interfaces:
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP) public class WebViewAuth
Holds the CertificateProvider used by WebViewActivity to handle client certificate requests. Callers must set the provider before launching a WebView-based authentication or logout flow, and clear it afterward.
-
-
Method Summary
Modifier and Type Method Description static CertificateProvidergetCertificateProvider()Returns the current CertificateProvider, or nullif none is set.static voidsetCertificateProvider(@Nullable() CertificateProvider certificateProvider)Sets the CertificateProvider to use when a WebView receives a client certificate request. -
-
Method Detail
-
getCertificateProvider
@Nullable() static CertificateProvider getCertificateProvider()
Returns the current CertificateProvider, or
nullif none is set.
-
setCertificateProvider
static void setCertificateProvider(@Nullable() CertificateProvider certificateProvider)
Sets the CertificateProvider to use when a WebView receives a client certificate request. Pass
nullto clear the provider after the WebView flow completes.
-
-
-
-