TsgcHTTP_OAuth2_Server_Provider › Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| OnOAuth2BeforeRequest | Fires before the Resource Server processes any inbound HTTP request; lets the application inspect, rewrite or cancel the request before Bearer-token validation runs. |
| OnOAuth2IsPrivateEndpoint | Fires when the Resource Server needs to decide whether a URL requires Bearer-token authentication; lets the application answer with a dynamic pattern match. |
| Name | Description |
|---|---|
| OnOAuth2ProviderTokenValid | Fires after the Resource Server successfully validates an inbound Bearer token, giving the application a chance to inspect the token and customize the response. |
| OnOAuth2ProviderTokenUnknown | Fires after Bearer-token validation fails (missing, unknown or expired token), giving the application a chance to shape the 401 response sent back to the client. |
| Name | Description |
|---|---|
| OnOAuth2BeforeRequest | Fires before the Resource Server processes any inbound HTTP request; lets the application inspect, rewrite or cancel the request before Bearer-token validation runs. |
| OnOAuth2IsPrivateEndpoint | Fires when the Resource Server needs to decide whether a URL requires Bearer-token authentication; lets the application answer with a dynamic pattern match. |
| OnOAuth2ProviderTokenUnknown | Fires after Bearer-token validation fails (missing, unknown or expired token), giving the application a chance to shape the 401 response sent back to the client. |
| OnOAuth2ProviderTokenValid | Fires after the Resource Server successfully validates an inbound Bearer token, giving the application a chance to inspect the token and customize the response. |