@spacehq/sdk > Users > withStorage
Users.withStorage() method
Creates a users
Signature:
static withStorage(storage: IdentityStorage, config: UsersConfig, onError?: CallableFunction): Promise<Users>;
Parameters
Parameter | Type | Description |
---|---|---|
storage | IdentityStorage | |
config | UsersConfig | |
onError | CallableFunction |
Returns:
Promise<Users>