Function

validate

Validate a JWT with specified properties.

validate: func(headers: headers, props: validate-props) -> result​<token-data, validation-error>;