validate
fun validate(validate: suspend ApplicationCall.(JWTCredential) -> Principal?)
Content copied to clipboard
Apply validate function to every call with JWTCredential
Return
a principal (usually an instance of JWTPrincipal) or null
Apply validate function to every call with JWTCredential
a principal (usually an instance of JWTPrincipal) or null