(opts: {
request: Request;
authObject: AuthObject;
/**
* middleware and pages throw a notFound error if signed out
* but the middleware needs to throw an error it can catch
* use this callback to customise the behavior
*/
notFound: () => never;
/**
* see {@link notFound} above
*/
redirect: (url: string) => void;
/**
* protect() in middleware redirects to signInUrl if signed out
* protect() in pages throws a notFound error if signed out
* use this callback to customise the behavior
*/
redirectToSignIn: RedirectFun<unknown>;
})
source not stored for this graph (policy: none)
no test coverage detected