pub struct Provider {
pub config: Config,
/* private fields */
}Expand description
Global provider manager.
Fields§
§config: ConfigConfiguration.
Implementations§
Source§impl Provider
impl Provider
pub fn new<P: PluginManagerApi>( cfg: Config, plugin_manager: &P, ) -> Result<Self, KeystoneError>
Sourcepub fn get_application_credential_provider(
&self,
) -> &impl ApplicationCredentialApi
pub fn get_application_credential_provider( &self, ) -> &impl ApplicationCredentialApi
Get the application credential provider.
Sourcepub fn get_assignment_provider(&self) -> &impl AssignmentApi
pub fn get_assignment_provider(&self) -> &impl AssignmentApi
Get the assignment provider.
Sourcepub fn get_catalog_provider(&self) -> &impl CatalogApi
pub fn get_catalog_provider(&self) -> &impl CatalogApi
Get the catalog provider.
Sourcepub fn get_federation_provider(&self) -> &impl FederationApi
pub fn get_federation_provider(&self) -> &impl FederationApi
Get the federation provider.
Sourcepub fn get_identity_provider(&self) -> &impl IdentityApi
pub fn get_identity_provider(&self) -> &impl IdentityApi
Get the identity provider.
Sourcepub fn get_identity_mapping_provider(&self) -> &impl IdentityMappingApi
pub fn get_identity_mapping_provider(&self) -> &impl IdentityMappingApi
Get the identity mapping provider.
Sourcepub fn get_k8s_auth_provider(&self) -> &impl K8sAuthApi
pub fn get_k8s_auth_provider(&self) -> &impl K8sAuthApi
Get the resource provider.
Sourcepub fn get_resource_provider(&self) -> &impl ResourceApi
pub fn get_resource_provider(&self) -> &impl ResourceApi
Get the resource provider.
Sourcepub fn get_revoke_provider(&self) -> &impl RevokeApi
pub fn get_revoke_provider(&self) -> &impl RevokeApi
Get the revocation provider.
Sourcepub fn get_role_provider(&self) -> &impl RoleApi
pub fn get_role_provider(&self) -> &impl RoleApi
Get the role provider.
Sourcepub fn get_token_provider(&self) -> &impl TokenApi
pub fn get_token_provider(&self) -> &impl TokenApi
Get the token provider.
Sourcepub fn get_trust_provider(&self) -> &impl TrustApi
pub fn get_trust_provider(&self) -> &impl TrustApi
Get the trust provider.
Auto Trait Implementations§
impl !Freeze for Provider
impl !RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl !UnwindSafe for Provider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more