Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LogoutProps

Index

Properties

Properties

Optional error

error: undefined | Error

Any errors returned from the logout request

loading

loading: boolean

A boolean that indicates whether your logout request is in flight.

logout

logout: () => Promise<boolean>

A function to trigger the logout process from your UI. The function returns a promise that fulfills with a boolean to indicate whether or not the logout succeeded.

Type declaration

    • (): Promise<boolean>
    • Returns Promise<boolean>

Generated using TypeDoc