Type Alias PendingResult

type PendingResult = {
    error?: string;
    idpClaims?: unknown;
    oauth2Error?: {
        error: string;
        errorDescription?: string;
        errorURI?: string;
    };
    protocol?: "OIDC"
    | "SAML";
    resultantClaims?: unknown;
    started?: string;
    status:
        | "success"
        | "pending"
        | "error"
        | "claimsError"
        | "callbackError"
        | "tokenError"
        | "protocolError"
        | "networkError"
        | "configChangedDuringTestError";
}
Index

Properties

error?: string

A unique readable error message based on the error that has occurred.

idpClaims?: unknown
oauth2Error?: { error: string; errorDescription?: string; errorURI?: string }

Type Declaration

  • error: string

    An error code to identity the authentication error.

  • OptionalerrorDescription?: string
  • OptionalerrorURI?: string
protocol?: "OIDC" | "SAML"
resultantClaims?: unknown
started?: string
status:
    | "success"
    | "pending"
    | "error"
    | "claimsError"
    | "callbackError"
    | "tokenError"
    | "protocolError"
    | "networkError"
    | "configChangedDuringTestError"