Expand description
§Hessra API
HTTP client for Hessra authentication services.
This crate provides a client for making HTTP requests to the Hessra authorization service. It supports both HTTP/1.1 and HTTP/3 (as an optional feature) and implements the OpenAPI specification for the Hessra service.
§Features
- HTTP/1.1 client for Hessra services
- Optional HTTP/3 support
- Implementation of all Hessra API endpoints
- Mutual TLS (mTLS) for secure client authentication
- Identity token support for authentication without mTLS (except initial issuance)
- Bearer token authentication using identity tokens
Structs§
- Base
Config - Base configuration for Hessra clients
- CaCert
Response - Response from a CA certificate request
- Hessra
Client Builder - Builder for creating Hessra clients
- Http1
Client - HTTP/1.1 client implementation
- Identity
Token Request - Request for minting a new identity token
- Identity
Token Response - Response from identity token operations
- Mint
Identity Token Request - Request for minting a new domain-restricted identity token
- Mint
Identity Token Response - Response from minting a domain-restricted identity token
- Public
KeyResponse - Response from a public key request
- Refresh
Identity Token Request - Request for refreshing an existing identity token
- Sign
Token Request - Request structure for token signing operations
- Sign
Token Response - Response structure for token signing operations
- Signoff
Info - Information about required signoffs for multi-party tokens
- Token
Request - Request payload for requesting an authorization token
- Token
Response - Enhanced token response that may include pending signoffs
- Verify
Service Chain Token Request - Request payload for verifying a service chain token
- Verify
Token Request - Request payload for verifying an authorization token
- Verify
Token Response - Response from a token verification operation
Enums§
- ApiError
- Hessra
Client - The main Hessra client type providing token request and verification
Functions§
- parse_
server_ address - Parse a server address string into (host, port) components.