Type Alias: ApiInputLogin

@torque-labs/torque-ts-sdkDocs


@torque-labs/torque-ts-sdk / ApiInputLogin

Type Alias: ApiInputLogin

type ApiInputLogin: {
  authType: "siws";
  payload: {
     input: SolanaSignInInput;
     output: SolanaSignInOutput;
    };
  pubKey: string;
 } | {
  authType: "basic";
  payload: {
     input: string;
     output: string;
    };
  pubKey: string;
};

Input login options for the API.

Defined in

src/types/api.ts:71

Last updated