TorqueAuthInput
@torque-labs/sdk / TorqueAuthInput
Type Alias: TorqueAuthInput
type TorqueAuthInput = {
pubKey: string;
} &
| {
authType: "siws";
payload: {
input: SolanaSignInInput;
output: SolanaSignInOutput;
};
}
| {
authType: "basic" | "transaction";
payload: {
input: string;
output: string;
};
}
| {
authType: "privy";
payload: {
authToken: string;
identityToken: string;
};
};Defined in: sdk/src/modules/user.ts:31
The auth input required to authenticate the user with the Torque API.
Type declaration
Name
Type
pubKey
string
Last updated
