Variable redirectPolicyFor
redirectPolicyFor: (
opts: any,
) =>
| { redirect: boolean; requirement?: undefined; why?: undefined }
| { redirect: boolean; requirement?: undefined; why: string }
| { redirect: boolean; requirement: string; why: string } = redirectPolicyFor
Decides whether an authorization error may be redirected to the client: not when nobody has been authenticated (section 4.11.2).