pub trait AuthenticationProvider:
Send
+ Sync
+ Debug
+ AuthenticationProviderClone {
// Required methods
fn tenancy_id(&self) -> &str;
fn user_id(&self) -> &str;
fn fingerprint(&self) -> &str;
fn private_key(&self) -> Result<Rsa<Private>, Box<dyn Error>>;
fn region_id(&self) -> &str;
// Provided method
fn key_id(&self) -> String { ... }
}
Expand description
Trait defining an Authentication Provider
Required Methods§
Sourcefn tenancy_id(&self) -> &str
fn tenancy_id(&self) -> &str
Returns the Tenancy OCID associated with this AuthenticationProvider
Sourcefn fingerprint(&self) -> &str
fn fingerprint(&self) -> &str
Returns the Fingerprint associated with the Private Key of this AuthenticationProvider
Provided Methods§
Trait Implementations§
Source§impl Clone for Box<dyn AuthenticationProvider>
impl Clone for Box<dyn AuthenticationProvider>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more