AnonymousIdp class
Main class for the anonymous identity provider. The methods defined here are intended to be called from an endpoint.
Constructors
- AnonymousIdp(AnonymousIdpConfig config, {required TokenManager tokenManager, AuthUsers authUsers = const AuthUsers(), UserProfiles userProfiles = const UserProfiles()})
-
Creates a new instance of AnonymousIdp.
factory
Properties
- config → AnonymousIdpConfig
-
The configuration for the anonymous identity provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- utils → AnonymousIdpUtils
-
Utility functions for the anonymous identity provider.
final
Methods
-
login(
Session session, {String? token, Transaction? transaction}) → Future< AuthSuccess> - Creates a new anonymous account and returns its session.
-
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