AuthenticatedUser class

The identity of a person, as the provider currently describes them.

This is a snapshot: groups in particular is re-read on every revalidation, because losing group membership has to revoke access just like disabling the account does.

Constructors

AuthenticatedUser({required String id, required String email, required String displayName, List<String> groups = const []})
const

Properties

displayName String
final
email String
final
groups List<String>
final
hashCode int
The hash code for this object.
no setterinherited
id String
Stable provider-side identifier (the OIDC sub claim). Used as the primary key — unlike an email address it does not change.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited