Aller au contenu

useOpenSso

Ce contenu n’est pas encore disponible dans votre langue.

useOpenSso(args?): UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>

Defined in: react/src/hook/useOpenSso.ts:38

Hook that return a mutation helping to open the SSO page

It’s a @tanstack/react-query!home | `tanstack` wrapper around the `openSso()` action

Optional config object with mutations for customizing the underlying @tanstack/react-query!useMutation | `useMutation()`

MutationOptions

Optional mutation options, see @tanstack/react-query!useMutation | `useMutation()` for more infos

UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>

The mutation hook wrapping the openSso() action The mutate and mutateAsync argument is of type `OpenSsoParamsType` The mutation doesn’t output any value

  • `openSso()` for more info about the underlying action
  • @tanstack/react-query!useMutation | `useMutation()` for more info about the mutation options and response