Expand description
Request auth injectors.
Structs§
- ApiKey
Injector - Injects an
x-api-keyheader. - Basic
Auth Injector - Injects HTTP basic auth.
- Bearer
Token Injector - Injects
Authorization: Bearer <token>. - Client
Credentials Injector - OAuth2 client-credentials injector with in-memory token caching.
- Cookie
Injector - Appends a named token cookie to the request.
- Noop
Injector - Auth injector that leaves requests unchanged.
- Provider
Bearer Injector - Resolves a credential from an auth provider and injects its token as bearer auth.
Traits§
- Auth
Injector - Mutates an outbound request with authentication material.
Type Aliases§
- Token
Func - Async callback that returns a token for request injection.