CredentialsContainer class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Credential Management API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen. This interface is accessible from Navigator.credentials.

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

CredentialsContainer()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create([CredentialCreationOptions? options]) Future<Credential>

Available on CredentialsContainer, provided by the PropsCredentialsContainer extension

get([CredentialRequestOptions? options]) Future<Credential>

Available on CredentialsContainer, provided by the PropsCredentialsContainer extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preventSilentAccess() Future<void>

Available on CredentialsContainer, provided by the PropsCredentialsContainer extension

store(Credential credential) Future<Credential>

Available on CredentialsContainer, provided by the PropsCredentialsContainer extension

toString() String
A string representation of this object.
inherited

Operators

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