Type alias VerifierAuthenticationResult

VerifierAuthenticationResult: {
    result: "trusted";
    verifierInfo: VerifierInfo;
} | {
    error: VerifierAuthenticationError;
    result: "untrusted";
    x509CertChain: string[];
} | {
    origin?: string | null;
    result: "unsigned";
}

Represents the result of verifier authentication

Type declaration

  • Readonly result: "trusted"

    Successful verifier authentication.

  • Readonly verifierInfo: VerifierInfo

    Contains details about the trusted root certificate that was used to successfully complete verifier authentication.

Type declaration

  • Readonly error: VerifierAuthenticationError

    The specific authentication error encountered during verification.

  • Readonly result: "untrusted"

    Indicates the verifier authentication object could not be trusted.

  • Readonly x509CertChain: string[]

    The X.509 certificate chain of verifier authentication object, represented as an array of PEM strings.

Type declaration

  • Optional Readonly origin?: string | null

    Optionally includes the request origin if available.

  • Readonly result: "unsigned"

    Indicates that the request was unsigned.

Generated using TypeDoc