Skip to main content

Type Alias: AuthProps

AuthProps = Pick<AuthCoreProps, "signUpTerms" | "logo" | "layout"> & object

Defined in: react-auth-cognito/src/Auth.tsx:253

Type Declaration

onError?

optional onError?: (error) => void

Callback function invoked when an error occurs during authentication operations. Receives the error object that was caught.

Parameters

ParameterType
errorError

Returns

void