DummyAuthenticator class
A dummy implementation for testing Rikulo Security. It is definitely not a good idea to use this class in the production.
- Inheritance
-
- Object
- Authenticator
- DummyAuthenticator
Constructors
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
-
addUser(
String username, String password, Iterable< String> roles) → void - Adds a user.
-
isSessionExpired(
HttpConnect connect, dynamic user) → FutureOr< bool> -
Check if the current session is expired.
*
inherited
-
login(
HttpConnect connect, String username, String password) → Future< SimpleUser> -
Authenticates the given username and password.
override
-
logout(
HttpConnect connect, dynamic user) → Future< Map> ? -
Logout.
*
inherited
-
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