Table of Contents

Sparkle.Middleware.Jwt Namespace

Classes

Name Description
TJwtMiddleware HTTP server middleware that authenticates requests using a JSON Web Token (JWT) sent as a Bearer token.

Interfaces

Name Description
IJwtMiddleware Interface implemented by the JSON Web Token authentication middleware.

Anonymous methods

Name Description
TBeforeValidation​Proc Callback invoked just before the token is validated, allowing custom validation rules to be added.
TForbidRequestProc Callback invoked to decide whether the current request must be rejected, regardless of the token state.
TGetSecretProc Callback invoked to provide the secret (key) used to validate the signature of a JSON Web Token.