UserDetailsService class abstract

Defines the contract for loading user information, given an identifier (usually the username).

In many applications, you will perform a database search or use another service to find the UserDetails.

Constructors

UserDetailsService.new()

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

loadUserByUsername(String username) Future<UserDetails?>
Loads the user based on the username. Returns null if not found.
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