UsersConfig interface
Configuration option provided to the Users class.
Signature:
export interface UsersConfig
Properties
Property | Type | Description |
---|---|---|
authChallengeSolver? | (identity: Identity) => Promise<HubAuthResponse> | (Optional) |
endpoint | string | Hub auth service endpoint |
vaultInit? | () => Vault | (Optional) Optional Vault factory function.If provided the default VaultService with provided config will not be used for authentication. |
vaultServiceConfig? | VaultServiceConfig | (Optional) Vault Service Configuration. Either this is provided or the vaultInit function is provided or else initializing the users class will throw an error. |