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

    Interface AuthEventData

    Auth audit log event formats

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

    Properties

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