TsgcHTTP_JWT_Server › Methods

TsgcHTTP_JWT_Server Methods

Public methods grouped by purpose, followed by the full alphabetical list.

Validation

NameDescription
ValidateDecodes a JWT string and validates its signature against the configured algorithm, returning the decoded Header, Payload and any error text.
IsJWTTokenValidValidates the Bearer token carried in the request: runs the full pipeline (OnJWTBeforeRequest, signature check, claim validations, OnJWTAfterValidateToken) and returns True when the token is accepted.
IsJWTUnauthorizedFinal 401 gate: fires OnJWTUnauthorized so the application can accept the connection (CORS pre-flight, whitelisted endpoints) and returns True when the request must be rejected as Unauthorized.

All Methods (alphabetical)

NameDescription
IsJWTTokenValidValidates the Bearer token carried in the request: runs the full pipeline (OnJWTBeforeRequest, signature check, claim validations, OnJWTAfterValidateToken) and returns True when the token is accepted.
IsJWTUnauthorizedFinal 401 gate: fires OnJWTUnauthorized so the application can accept the connection (CORS pre-flight, whitelisted endpoints) and returns True when the request must be rejected as Unauthorized.
ValidateDecodes a JWT string and validates its signature against the configured algorithm, returning the decoded Header, Payload and any error text.