SimpleIdentityProvider class

Simple identity provider that stores identities in a map in memory.

Implemented types

Constructors

SimpleIdentityProvider(Map<String, SimpleIdentity> _identities)

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

getClaims(String username, String password) Map<String, String>?
Validates the username/password combination is valid and returns the claims of the client. Returns null when the username does not exist or the password is incorrect.
override
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