Nymph.js 1.0.0-beta.113
    Preparing search index...

    Type Alias AdminUserData

    AdminUserData: CurrentUserData & {
        cancelEmailAddress?: string;
        cancelEmailSecret?: string;
        emailChangeDate?: number;
        group?: Group & AdminGroupData;
        groups?: (Group & AdminGroupData)[];
        newEmailAddress?: string;
        newEmailSecret?: string;
        passwordTemp?: string;
        recoverSecret?: string;
        recoverSecretDate?: number;
        revokeTokenDate?: number;
        secret?: string;
    }

    Type Declaration

    • OptionalcancelEmailAddress?: string

      The old email address.

    • OptionalcancelEmailSecret?: string

      An email change cancellation secret.

    • OptionalemailChangeDate?: number

      The timestamp of when the email address was last changed.

    • Optionalgroup?: Group & AdminGroupData

      The user's primary group.

    • Optionalgroups?: (Group & AdminGroupData)[]

      The user's secondary groups.

    • OptionalnewEmailAddress?: string

      The new email address.

    • OptionalnewEmailSecret?: string

      An email change proceed secret.

    • OptionalpasswordTemp?: string

      Used by admins to change a user's password. Not saved to the database.

    • OptionalrecoverSecret?: string

      A recovery secret.

    • OptionalrecoverSecretDate?: number

      The timestamp of when the recovery secret was issued.

    • OptionalrevokeTokenDate?: number

      If set, this timestamp is the cutoff point for JWT issue dates. Any token issued before this date will not authenticate the user.

    • Optionalsecret?: string

      A verification secret.