@textile/hub > WithKeyInfoOptions
WithKeyInfoOptions interface
Set the options for authenticating with an API key
Signature:
export interface WithKeyInfoOptions extends WithUserAuthOptions
Extends: WithUserAuthOptions
Properties
Property | Type | Description |
---|---|---|
date? | Date | (Optional) Optional. Future date for the session to expire. Short time periods are strongly recommended. (Default 30 minutes). |
debug? | boolean | (Optional) Optional. Get more detailed log information. |
host? | string | (Optional) Development purposes only. |