Skip to content

AccountSessionEndReason enumeration

namespace: Serenity.Extensions   assembly: Serenity.Extensions

Why a session of a user ended, see EndReason.

public enum AccountSessionEndReason

Values

name value description
SignedOut 1 The user signed out.
RevokedByUser 2 The user signed it out from another session, e.g. on the my account page.
RevokedByAdmin 3 An administrator signed the user out everywhere.
PasswordChanged 4 The password of the user changed.
TwoFactorReset 5 An administrator reset the two-factor authentication of the user.
Deactivated 6 The user was deactivated, or no longer exists.
Replaced 7 The user signed in again, and only one session is allowed, see AccountSessionConcurrency.

See Also