SAIF.Web.API API reference¶
This page lists all public types exposed by SAIF.Web.API. All five types live in the single namespace SAIF.Web.API. Each type links to its full API reference page.
Types¶
| Type | Kind | Namespace | Purpose |
|---|---|---|---|
| ApiResponseHandler | Class | SAIF.Web.API |
DelegatingHandler that post-processes every response passing through the pipeline: normalizes Web API errors into a fixed ErrorResponse contract, assigns a correlation ID, builds a Splunk deep-link, logs/traces the exchange, and stamps a Server-Name header. |
| ExceptionHandler | Class (static) | SAIF.Web.API |
Maps SAIF.API.Exceptions.* exception types to fixed HTTP status codes via catch-clause dispatch. |
| HttpRequestExtensions | Class (static, extension methods) | SAIF.Web.API |
Provides a non-throwing helper to read the first value of a named request header. |
| RequireSSLAttribute | Class (action filter) | SAIF.Web.API |
Action filter that redirects non-HTTPS requests to HTTPS, with a configurable local-request exemption. |
| SaifAuthorizeAttribute | Class (authorization filter) | SAIF.Web.API |
Sealed AuthorizeAttribute subclass that delegates per-role authorization decisions to a remote ISecurityApiClient. |
Related documentation¶
- Index
- Overview
- Architecture
- Dependencies
- Configuration
- Operations and processes
- Business rules
- Security and authorization
Sources¶
src/SAIF.Web.API/ApiResponseHandler.cssrc/SAIF.Web.API/ExceptionHandler.cssrc/SAIF.Web.API/HttpRequestExtensions.cssrc/SAIF.Web.API/RequireSSLAttribute.cssrc/SAIF.Web.API/SaifAuthorizeAttribute.cssrc/SAIF.Web.API/SAIF.Web.API.csproj