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

    Interface ExchangeTokenRequest

    interface ExchangeTokenRequest {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.iam.v1.ExchangeTokenRequest";
        actorToken: string;
        actorTokenType: string;
        audience: string;
        grantType: string;
        requestedTokenType: string;
        resource: string[];
        scopes: string[];
        subjectToken: string;
        subjectTokenType: string;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.iam.v1.ExchangeTokenRequest"
    actorToken: string

    optional, subject token for impersonation/delegation (who want to impersonate/delegate) in subject_token.

    actorTokenType: string

    optional, token type for the impersonation/delegation (who want to impersonate/delegate). Usually it's urn:ietf:params:oauth:token-type:access_token

    audience: string

    optional, name of the oauth client id on which this token will be used

    grantType: string

    required - urn:ietf:params:oauth:grant-type:token-exchange

    requestedTokenType: string

    optional type of requested token, default is urn:ietf:params:oauth:token-type:access_token

    resource: string[]

    optional, list of resources approved to use by token, if applicable

    scopes: string[]

    optional (scopes of the token)

    subjectToken: string

    required - could be self signed JWT token

    subjectTokenType: string

    required, in case of jwt - urn:ietf:params:oauth:token-type:jwt