• Preparing search index...
  • The search index is not available
@oneblink/apps-react
  • @oneblink/apps-react
  • useAuth

FunctionuseAuth

  • useAuth(): AuthContextValue
  • A React hook for containing state associated the current user. This hook requires <AuthContextProvider /> to be present in your component tree.

    Example

    import { useAuth } from '@oneblink/apps-react'

    function Component() {
    const { isLoggedIn, userProfile, userFriendlyName, isUsingFormsKey } =
    useAuth()
    }

    Returns AuthContextValue

    • Defined in src/hooks/useAuth.tsx:140

Settings

@oneblink/apps-react
  • Loading...