AuthAuthenticationLifecycleEvent<TContext> class final

Typed, in-memory host lifecycle event for optional authentication plugins.

The event is intentionally not serializable. authenticationMethod is a host-owned stable method label, never a credential, token, identifier, or provider response. OAuth hosts may additionally provide the bounded provider namespace in oauthProviderNamespace.

Constructors

AuthAuthenticationLifecycleEvent({required AuthAuthenticationLifecycleEventType type, required TContext context, required AuthSessionStrategy strategy, String? authenticationMethod, String? oauthProviderNamespace})
Creates a lifecycle event delivered to plugin contributors.
const

Properties

authenticationMethod → String?
Stable authentication-method label, when known.
final
context → TContext
Framework context associated with the transition.
final
hashCode → int
The hash code for this object.
no setterinherited
oauthProviderNamespace → String?
Provider namespace associated with an OAuth transition, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strategy → AuthSessionStrategy
Session strategy used by the host.
final
type → AuthAuthenticationLifecycleEventType
Lifecycle transition represented by the event.
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