Instance of a Fief client.
Optional
forbiddenOptional handler for forbidden response.
The default handler will return a plain text response with status code 403.
TokenGetter function.
Optional
unauthorizedOptional handler for unauthorized response.
The default handler will return a plain text response with status code 401.
Optional
userAn instance of a IUserInfoCache class.
Parameters to instantiate a fiefAuth middleware.