Credentials class

Credential Management API Access

Constructors

Credentials()

Properties

hasCredentialFeature Future<bool?>
Weather this platform has PasswordCredential Feature.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String id) Future<void>
clear password for an id
get({Mediation mediation = Mediation.Silent}) Future<PasswordCredential?>
get Password Credential
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openPlatformCredentialSettings() Future<void>
Open Platform Specific Password Credential Settings
preventSilentAccess() Future<void>
Disable Silent Access to Current Credential
store(String id, String password, {Mediation mediation = Mediation.Optional}) Future<Result>
store ID/Password
storeCredential(PasswordCredential credential, {Mediation mediation = Mediation.Optional}) Future<Result>
store Password Credential
toString() String
A string representation of this object.
inherited

Operators

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