Options
All
  • Public
  • Public/Protected
  • All
Menu

Module components

Index

Variables

Const AuthContext

AuthContext: Context<AuthContextType> = ...

Default state for AuthContextProvider

Const AuthContextDefaultState

AuthContextDefaultState: { auth: null; login: () => undefined; logout: () => undefined } = ...

Type declaration

  • auth: null
  • login: () => undefined
      • (): undefined
      • Returns undefined

  • logout: () => undefined
      • (): undefined
      • Returns undefined

Consumer

Consumer: Consumer<AuthContextType>

Provider

Provider: Provider<AuthContextType>

Functions

Const AASLogin

  • AASLogin(): Element

Const default

  • default(): Element

Const default

  • default(): Element

Const default

Const default

Const default

  • React component which is wrapper over provider of react context api. Responsible for instantiating keycloak and provide context value to consumers props - config json specific to UI application e.g. realm and clientId children - react component or html element which can have consumer to access context provided

    Parameters

    Returns Element

Generated using TypeDoc