AnonymousPlugin<TContext> class
final
Anonymous authenticated identities that can later be linked to a real sign-in method by the host integration.
- Implemented types
Constructors
-
AnonymousPlugin({AuthAnonymousNameGenerator<
TContext> ? generateName, bool disableDeleteAnonymousUser = false}) - Creates an instance of AnonymousPlugin.
Properties
-
clientOperations
→ Iterable<
AuthClientOperationDescriptor> -
The client operations exposed by this plugin.
no setteroverride
- dataContract → AuthServerPluginDataContract
-
The persistence and data contract exposed by this plugin.
no setteroverride
- disableDeleteAnonymousUser → bool
-
The disable delete anonymous user associated with this value.
final
-
endpoints
→ Iterable<
AuthEndpointDescriptor< TContext> > -
The endpoint descriptors exposed by this plugin.
no setteroverride
-
generateName
→ AuthAnonymousNameGenerator<
TContext> ? -
The generate name associated with this value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The identifier exposed by this component.
no setteroverride
-
persistenceSchemas
→ Iterable<
AuthPersistenceSchema> -
The persistence schemas exposed by this plugin.
no setteroverride
-
rateLimitOperations
→ Iterable<
AuthRateLimitOperation> -
The rate-limit operations exposed by this plugin.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userDataNamespace → String
-
The namespace used for plugin-owned user data.
no setteroverride
Methods
-
completeAnonymousAccountUpgrade(
{required AuthUser anonymousUser, required AuthUser targetUser}) → Future< void> - Finalizes an upgrade after the host has issued the target user's session.
-
configure(
AuthServerPluginContext< TContext> context) → void -
Configures the requested value.
override
-
createUserDeletionPlan(
AuthUser user) → AuthUserDeletionPlan -
Creates user deletion plan.
override
-
deleteAnonymousUser(
{required AuthUser user}) → Future< void> - Deletes anonymous user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signInAnonymous(
{required TContext context}) → Future< AuthAnonymousSignInResult> - Performs the sign in anonymous operation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited