Type alias RefreshFunction

RefreshFunction: ((useCache?) => Promise<void>)

Type declaration

    • (useCache?): Promise<void>
    • Function to refresh the user information from the API.

      Parameters

      • Optional useCache: boolean

        If true, the data will be read from your server cache (much faster). If false, the data will be retrieved from the Fief API (fresher data). Defaults to true.

      Returns Promise<void>

Generated using TypeDoc