UserAuth type
UserAuth is a type describing the minimal requirements create a session from a user group key. Generate with createUserAuth().
Optional token generated by Client.getToken or Client.getTokenChallenge.
Signature:
export declare type UserAuth = {
key: string;
sig: string;
msg: string;
token?: string;
};
Example
Import
import {UserAuth} from '@textile/hub';