Interface AuthMechanismProperties

interface AuthMechanismProperties {
    ALLOWED_HOSTS?: string[];
    AWS_SESSION_TOKEN?: string;
    CANONICALIZE_HOST_NAME?: GSSAPICanonicalizationValue;
    ENVIRONMENT?:
        | "azure"
        | "gcp"
        | "test"
        | "k8s";
    OIDC_CALLBACK?: OIDCCallbackFunction;
    OIDC_HUMAN_CALLBACK?: OIDCCallbackFunction;
    SERVICE_HOST?: string;
    SERVICE_NAME?: string;
    SERVICE_REALM?: string;
    TOKEN_RESOURCE?: string;
}

Hierarchy (view full)

Properties

ALLOWED_HOSTS?: string[]

Allowed hosts that OIDC auth can connect to.

AWS_SESSION_TOKEN?: string
CANONICALIZE_HOST_NAME?: GSSAPICanonicalizationValue
ENVIRONMENT?:
    | "azure"
    | "gcp"
    | "test"
    | "k8s"

The OIDC environment. Note that 'test' is for internal use only.

OIDC_CALLBACK?: OIDCCallbackFunction

A user provided OIDC machine callback function.

OIDC_HUMAN_CALLBACK?: OIDCCallbackFunction

A user provided OIDC human interacted callback function.

SERVICE_HOST?: string
SERVICE_NAME?: string
SERVICE_REALM?: string
TOKEN_RESOURCE?: string

The resource token for OIDC auth in Azure and GCP.