Get User or Parameter
A parameter for the getUser method.
or
"return-null" | "redirect" | "throw"What to do if the user is not signed in. Defaults to "return-null"
.
"return-null"
Returns null
. The default.
"redirect"
Redirects the user to the signIn
URL.
"throw"
Throws an error.