pub struct KeycloakRealmConfig { /* private fields */ }Implementations§
Source§impl KeycloakRealmConfig
impl KeycloakRealmConfig
pub fn new(server_url: String, realm: String, client_id: String) -> Self
pub fn with_client_secret(self, secret: String) -> Self
pub fn realm_url(&self) -> String
pub fn jwks_uri(&self) -> String
pub fn token_endpoint(&self) -> String
pub fn introspection_endpoint(&self) -> String
pub fn admin_url(&self) -> String
pub fn server_url(&self) -> &str
pub fn realm(&self) -> &str
pub fn client_id(&self) -> &str
pub fn client_secret(&self) -> Option<&str>
pub fn introspection_authenticator( &self, options: IntrospectionCacheOptions, ) -> Result<IntrospectionAuthenticator, CamelError>
pub fn uma_evaluator(&self) -> Result<Arc<dyn PermissionEvaluator>, AuthError>
Trait Implementations§
Source§impl Clone for KeycloakRealmConfig
impl Clone for KeycloakRealmConfig
Source§fn clone(&self) -> KeycloakRealmConfig
fn clone(&self) -> KeycloakRealmConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeycloakRealmConfig
impl Debug for KeycloakRealmConfig
Source§impl<'de> Deserialize<'de> for KeycloakRealmConfig
impl<'de> Deserialize<'de> for KeycloakRealmConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KeycloakRealmConfig
impl Display for KeycloakRealmConfig
Auto Trait Implementations§
impl Freeze for KeycloakRealmConfig
impl RefUnwindSafe for KeycloakRealmConfig
impl Send for KeycloakRealmConfig
impl Sync for KeycloakRealmConfig
impl Unpin for KeycloakRealmConfig
impl UnsafeUnpin for KeycloakRealmConfig
impl UnwindSafe for KeycloakRealmConfig
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