@manta-eu/react/providers/MantaClientProvider
Reference for @manta-eu/react/providers/MantaClientProvider as it is on main.
Type Aliases
MantaClientProviderProps
MantaClientProviderProps =
object
Properties
children
children:
ReactNode
datastoreId?
optionaldatastoreId?:string
getAccessToken?
optionalgetAccessToken?:AccessTokenSource
For an app on its own domain that signs people in itself: requests carry this bearer, not the cookie.
mantaBaseUrl
mantaBaseUrl:
string
onSignOut?
optionalonSignOut?: () =>void
What Log out does for a getAccessToken host; falls back to onUnauthorized.
Returns
void
ontologyGraphIri?
optionalontologyGraphIri?:string
onUnauthorized?
optionalonUnauthorized?: () =>void
Returns
void
Functions
MantaClientProvider()
MantaClientProvider(
props):Element
Parameters
props
Returns
Element
useMantaClient()
useMantaClient():
MantaClientProviderState
Returns
References
MantaClientProviderState
Re-exports MantaClientProviderState
SparqlFetch
Re-exports SparqlFetch
SparqlFetchOptions
Re-exports SparqlFetchOptions