WebAuthenticationSupport enum

Support levels for android_webview.WebSettingsCompat.setWebAuthenticationSupport.

This enum provides a type-safe way to specify the WebAuthentication support level for a WebView.

See https://developer.android.com/reference/androidx/webkit/WebSettingsCompat#setWebAuthenticationSupport.

Inheritance
Available extensions

Values

none → const WebAuthenticationSupport

Disables WebAuthn requests from WebView.

No WebAuthn APIs are available to web content in the WebView.

const WebAuthenticationSupport(0)
forApp → const WebAuthenticationSupport

Allows WebAuthn requests for the embedded app.

WebAuthn is available for Relying Party IDs that are registered for the embedding application.

const WebAuthenticationSupport(1)
forBrowser → const WebAuthenticationSupport

Allows WebAuthn calls for any website.

WebAuthn is available for any Relying Party ID. This is the typical configuration for a browser-like experience.

const WebAuthenticationSupport(2)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
The platform integer expected by WebSettingsCompat.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<WebAuthenticationSupport>
A constant List of the values in this enum, in order of their declaration.