Member Junction
    Preparing search index...

    Interface APIKeyValidationResult

    Result of validating an API key

    interface APIKeyValidationResult {
        APIKeyHash?: string;
        APIKeyId?: string;
        Error?: string;
        IsValid: boolean;
        User?: UserInfo;
    }
    Index

    Properties

    APIKeyHash?: string

    The SHA-256 hash of the validated API key. Provided so callers can use it for subsequent Authorize() calls without re-hashing the raw key.

    APIKeyId?: string

    The API key ID if valid

    Error?: string

    Error message if invalid

    IsValid: boolean

    Whether the key is valid

    User?: UserInfo

    The user context if valid