JwtAdmin class
Collection of admin functions for managing authentication tokens.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteExpiredRefreshTokens(
Session session, {Transaction? transaction}) → Future< void> - Removes all expired refresh tokens from the database.
-
deleteRefreshTokens(
Session session, {UuidValue? refreshTokenId, UuidValue? authUserId, String? method, Transaction? transaction}) → Future< List< DeletedRefreshToken> > - Deletes the refresh tokens matching the given filters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rotateRefreshToken(
Session session, {required String refreshToken, Transaction? transaction}) → Future< TokenPair> - Returns a new refresh / access token pair.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited