AuthEventData | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Interface AuthEventData

    Auth audit log event formats

    interface AuthEventData {
        "platform:accountstatus": {
            newStatus: null | WRDAuthAccountStatus;
            oldStatus?: null | WRDAuthAccountStatus;
        };
        "platform:apikey": { tokenHash: string };
        "platform:insufficient-security": {
            badPasswordTime: null | Instant;
            failedChecks: PasswordCheck[];
        };
        "platform:login": { tokenHash: string };
        "platform:login-failed": {
            client?: number;
            code: LoginErrorCodes;
            error?: string;
        };
        "platform:logout": { tokenHash: string };
        "platform:resetpassword": void;
        "platform:secondfactor.challenge": { challenge: string };
        "wrd:loginbyid:ok": void;
    }
    Index

    Properties

    "platform:accountstatus": {
        newStatus: null | WRDAuthAccountStatus;
        oldStatus?: null | WRDAuthAccountStatus;
    }
    "platform:apikey": { tokenHash: string }
    "platform:insufficient-security": {
        badPasswordTime: null | Instant;
        failedChecks: PasswordCheck[];
    }
    "platform:login": { tokenHash: string }
    "platform:login-failed": {
        client?: number;
        code: LoginErrorCodes;
        error?: string;
    }
    "platform:logout": { tokenHash: string }
    "platform:resetpassword": void
    "platform:secondfactor.challenge": { challenge: string }
    "wrd:loginbyid:ok": void