SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Variable MCAuthServiceConst

    MCAuthService: GenService<
        {
            loginCredentials: {
                input: typeof CredentialsAuthRequestSchema;
                methodKind: "server_streaming";
                output: typeof CredentialsAuthResponseSchema;
            };
            loginDeviceCode: {
                input: typeof DeviceCodeAuthRequestSchema;
                methodKind: "server_streaming";
                output: typeof DeviceCodeAuthResponseSchema;
            };
            refresh: {
                input: typeof RefreshRequestSchema;
                methodKind: "unary";
                output: typeof RefreshResponseSchema;
            };
        },
    > = ...

    Service for authenticating Minecraft accounts for use with SoulFire bots. Supports multiple authentication methods including Microsoft OAuth (credentials and device code flows) and offline mode. All methods require the caller to have AUTHENTICATE_MC_ACCOUNT permission for the target instance.

    Authentication may optionally use proxies if configured in instance settings (USE_PROXIES_FOR_ACCOUNT_AUTH). All authentication operations have timeouts to prevent indefinite hangs (2 minutes for credentials/refresh, 15 minutes for device code flow).

    from service soulfire.v1.MCAuthService