Type Alias: AuthProps
AuthProps =
Pick<AuthCoreProps,"signUpTerms"|"logo"|"layout"> &object
Defined in: react-auth-cognito/src/Auth.tsx:271
Type Declaration
onError?
optionalonError?: (error) =>void
Callback function invoked when an error occurs during authentication operations. Receives the error object that was caught.
Parameters
| Parameter | Type |
|---|---|
error | Error |
Returns
void
socialProviders?
optionalsocialProviders?:SocialProvider[]
Federated identity providers to offer alongside email/password. Each one
must also be configured on the Cognito user pool and app client, and the
app's Amplify config must declare Auth.Cognito.loginWith.oauth.