react
Enumerations
Interfaces
Type Aliases
KeycloakConnectorStateActions
Ƭ KeycloakConnectorStateActions: { payload
: KeycloakConnectorClient
; type
: SET_KCC_CLIENT
} | { payload
: Event
| CustomEvent
<UserStatus
> ; type
: KCC_CLIENT_EVENT
} | { type
: DESTROY_CLIENT
| LENGTHY_LOGIN
| SHOW_LOGIN
| SHOW_LOGOUT
| EXECUTING_LOGOUT
| HIDE_DIALOG
}
Defined in
ReactConfig
Ƭ ReactConfig: Object
Type declaration
Name | Type | Description |
---|---|---|
deferredStart? | boolean | Defer the start of the plugin |
disableAuthComponents? | boolean | - |
globalEventListener? | EventListenerFunction <ClientEvent > | Can specify an event listener to catch all emitted events |
loginModalChildren? | ReactNode | Desc Specify a component to pass to the login modal for slight customization |
logoutModalChildren? | ReactNode | Desc Specify a component to pass to the logout modal for slight customization |
Defined in
components/KeycloakConnectorProvider.tsx:18
Functions
KeycloakConnectorProvider
▸ KeycloakConnectorProvider(«destructured»
): Element
Parameters
Name | Type |
---|---|
«destructured» | ConnectorProviderProps |
Returns
Element
Defined in
components/KeycloakConnectorProvider.tsx:65
Login
▸ Login(«destructured»
): Element
Parameters
Name | Type |
---|---|
«destructured» | AuthProps |
Returns
Element
Defined in
useKeycloakConnector
▸ useKeycloakConnector(): [KeycloakConnectorContextProps
, Dispatch
<KeycloakConnectorStateActions
>]
Returns
[KeycloakConnectorContextProps
, Dispatch
<KeycloakConnectorStateActions
>]