SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias DeviceCodeAuthRequest

    DeviceCodeAuthRequest: Message<"soulfire.v1.DeviceCodeAuthRequest"> & {
        instanceId: string;
        service: AccountTypeDeviceCode;
    }

    Request message for Microsoft OAuth device code authentication flow. This flow is interactive and requires user action in a web browser.

    Type Declaration

    • instanceId: string

      The UUID of the SoulFire instance to authenticate the account for. Must be a valid UUID string. The instance must exist and the caller must have AUTHENTICATE_MC_ACCOUNT permission for this instance.

      from field: string instance_id = 1;

    • service: AccountTypeDeviceCode

      The device code authentication service type to use:

      • MICROSOFT_JAVA_DEVICE_CODE: Microsoft Java Edition account
      • MICROSOFT_BEDROCK_DEVICE_CODE: Microsoft Bedrock Edition account

      from field: soulfire.v1.AccountTypeDeviceCode service = 2;

    from message soulfire.v1.DeviceCodeAuthRequest