AuthServerPluginDataContract class final

Declares the persistent data and destructive routes owned by one server plugin.

A plugin that contributes an authentication-method inventory must declare the same namespace here. A plugin that contributes user-owned deletion plans must declare its deletion namespace here. removalEndpointIds identifies credential-removal or credential-rotation routes that require the host's recent-authentication boundary; the registry verifies that each route is contributed by this plugin and is an explicit mutation.

Plugins that own neither authentication methods nor user-owned data should return AuthServerPluginDataContract.none. This declaration is required on every AuthServerPlugin, so external plugins cannot silently omit their cleanup and account-safety topology.

Constructors

AuthServerPluginDataContract({String? authenticationMethodNamespace, String? userDataNamespace, List<String> removalEndpointIds = const <String>[]})
Creates a declaration of plugin-owned data and removal endpoints.
const
AuthServerPluginDataContract.none()
Creates a declaration for a plugin that owns no user data or methods.
const

Properties

authenticationMethodNamespace String?
Namespace declared by AuthAuthenticationMethodInventoryContributor.
final
hashCode int
The hash code for this object.
no setterinherited
removalEndpointIds List<String>
Plugin endpoint IDs that remove or rotate an owned login credential.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userDataNamespace String?
Namespace declared by AuthUserDeletionPlanContributor.
final

Methods

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