pub struct SsoManager { /* private fields */ }Implementations§
Source§impl SsoManager
impl SsoManager
pub fn new(config: SsoConfig) -> SsoManager
pub fn with_server(self, server: Arc<SsoServer>) -> SsoManager
pub fn with_client(self, client: Arc<SsoClient>) -> SsoManager
pub fn server(&self) -> Option<&Arc<SsoServer>>
pub fn client(&self) -> Option<&Arc<SsoClient>>
pub fn config(&self) -> &SsoConfig
pub fn is_allowed_origin(&self, origin: &str) -> bool
Auto Trait Implementations§
impl Freeze for SsoManager
impl !RefUnwindSafe for SsoManager
impl Send for SsoManager
impl Sync for SsoManager
impl Unpin for SsoManager
impl !UnwindSafe for SsoManager
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more