Skip to content

AuthFlowContext

Properties

formContext

The form context.

Type: FormContext

Source: client/lib/use/useAuthFlow.js:20

onSubmissionErrorHandler

Intercepts UnauthorizedError and redirects to the reauthenticate route; falls back to defaultOnSubmissionError for all other errors.

Type: (args: object) => Promise

Source: client/lib/use/useAuthFlow.js:21

redirectTo

Pushes to route.query.returnPath if present; no-op otherwise.

Type: () => Promise

Source: client/lib/use/useAuthFlow.js:24

Source

client/lib/use/useAuthFlow.js:19

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2