validate
fun validate(validate: suspend ApplicationCall.(JWTCredential) -> Principal?)
Content copied to clipboard
Allows you to perform additional validations on the JWT payload.
Return
a principal (usually an instance of JWTPrincipal) or null
Allows you to perform additional validations on the JWT payload.
a principal (usually an instance of JWTPrincipal) or null