Skip to main content

SagaHttpCredentialSource

Trait SagaHttpCredentialSource 

Source
pub trait SagaHttpCredentialSource: Send + Sync {
    // Required method
    fn credentials(&self) -> Arc<SagaHttpCredentials> ⓘ;
}
Expand description

业务作用:让所有入站和出站认证器从同一受信配置快照读取当前凭据。

Required Methods§

Source

fn credentials(&self) -> Arc<SagaHttpCredentials> ⓘ

业务作用:取得一次认证操作完整使用的不可变凭据集合。

参数说明:无。

返回:已通过配置准备校验的快照;调用期间不能混用两代 key。

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§