@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface Authentication

    Represents the nebius.audit.v2.Authentication protobuf message.

    interface Authentication {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.audit.v2.Authentication";
        authenticated: boolean;
        authenticationType: AuthenticationType;
        credential?:
            | { $case: "tokenCredential"; tokenCredential: AccessToken }
            | { $case: "staticKeyCredential"; staticKeyCredential: StaticKey };
        federation?: Federation;
        subject?: Subject;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined

      Represents the nebius.audit.v2.Authentication protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.audit.v2.Authentication protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.audit.v2.Authentication"

    Contains the fully qualified protobuf type name.

    authenticated: boolean

    Answers the question whether or not the subject has been successfully authenticated.

    authenticationType: AuthenticationType

    Describes the type of authentication.

    credential?:
        | { $case: "tokenCredential"; tokenCredential: AccessToken }
        | { $case: "staticKeyCredential"; staticKeyCredential: StaticKey }

    Contains the selected value for the credential protobuf oneof.

    Type Declaration

    • { $case: "tokenCredential"; tokenCredential: AccessToken }
      • $case: "tokenCredential"

        Contains the case.

      • tokenCredential: AccessToken

        Contains the token credential.

    • { $case: "staticKeyCredential"; staticKeyCredential: StaticKey }
      • $case: "staticKeyCredential"

        Contains the case.

      • staticKeyCredential: StaticKey

        Contains the static key credential.

    federation?: Federation

    Information on the federation within which the subject exists.

    subject?: Subject

    Contains information about the subject of the call.