Exports
Credential
Opaque material Harnest passes transiently and never serializes. Material may be a token or a framework-native credential value. Harnest keeps either form redacted and requires transport adapters to reveal it at the final outbound security boundary. Obtain this object from the owning Harnest API; its constructor includes runtime bindings.Example
Example
Credential.reveal
Example
Example
CredentialContext
Private invocation capability for resolving outbound credentials. The context deliberately exposes no provider, principal, or resource-map access. Keeping this as a dedicated type lets stage contexts share the invocation lifetime without making credential authority enumerable.Example
Example
CredentialContext.resolve
Parameters and example
Parameters and example
CredentialError
Base class for safe credential-resolution failures.Example
Example
CredentialProvider
Application-owned source of short-lived invocation credentials.Example
Example
CredentialProvider.start
Example
Example
CredentialProvider.resolve
Parameters and example
Parameters and example
CredentialProvider.close
Example
Example
CredentialProviderError
Raised when a configured provider fails or violates its contract.Example
Example
CredentialRequest
Authenticated principal and authorization scope for one resolution.— means no declared default):
Parameters and example
Parameters and example
CredentialUnavailableError
Raised when an invocation cannot obtain a requested credential.Example
Example
credentials
Private invocation capability for resolving outbound credentials. The context deliberately exposes no provider, principal, or resource-map access. Keeping this as a dedicated type lets stage contexts share the invocation lifetime without making credential authority enumerable.Example
Example
credentials.resolve
Parameters and example
Parameters and example