pub enum IdpError {
Transport,
ProviderUnauthorised,
BadRequest,
NotFound,
KeyStore,
Tpm,
}
Expand description
Errors that the IdProvider may return. These drive the resolver state machine and should be carefully selected to match your expected errors.
Variants§
Transport
An error occurred in the underlying communication to the Idp. A timeout or or other communication issue exists. The resolver will take this provider offline.
The provider is online but the provider module is not current authorised with the idp. After returning this error the operation will be retried after a successful authentication.
BadRequest
The provider made an invalid or illogical request to the idp, and a result is not able to be provided to the resolver.
NotFound
The idp has indicated that the requested resource does not exist and should be considered deleted, removed, or not present.
KeyStore
The idp was unable to perform an operation on the underlying hsm keystorage
Tpm
The idp failed to interact with the configured TPM