Table of Contents

TGetSecretExEvent Type

Event that provides the secret (key) used to validate the token, with full access to the token and request.

Remarks

Sender: The middleware component that triggered the event. JWT: The token being validated, so its header and claims can be inspected. Context: The HTTP server context of the current request. Secret: Set this parameter to the secret used to validate the token signature.

Syntax

Unit: Sparkle.Comp.JwtMiddleware