MapAuthProvider class

Simple in-memory auth provider

Inheritance

Constructors

MapAuthProvider(Map<String, String> users)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
users → Map<String, String>
final

Methods

existingUsers(List<String> usernames) → List<String>
inherited
hasUser(String username) → bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate(String username, String password) → bool
override

Operators

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