useLogin
useLogin(idpName: string,options: LoginOptions):
The useLogin hooks instanciates a login service
const [error, loading, submit] = useLogin(idpName, options);
Properties
This element is often used without passing props
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
idpName | string | idpName is used to retrieve the configuration identified by the key idp/:idpName in src/settings.ts . |
options | LoginOptions |