pub struct UpstreamOAuthRuntime { /* private fields */ }Implementations§
Source§impl UpstreamOAuthRuntime
impl UpstreamOAuthRuntime
pub fn new( provider: Arc<dyn UpstreamOAuthProvider>, managers: BTreeMap<String, Arc<dyn UpstreamOAuthManager>>, ) -> Self
pub fn provider(&self) -> Arc<dyn UpstreamOAuthProvider>
pub fn manager(&self, upstream: &str) -> Option<Arc<dyn UpstreamOAuthManager>>
pub fn evict_subject(&self, upstream: &str, subject: &str)
pub fn evict_upstream(&self, upstream: &str)
Trait Implementations§
Source§impl Clone for UpstreamOAuthRuntime
impl Clone for UpstreamOAuthRuntime
Source§fn clone(&self) -> UpstreamOAuthRuntime
fn clone(&self) -> UpstreamOAuthRuntime
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 moreAuto Trait Implementations§
impl Freeze for UpstreamOAuthRuntime
impl !RefUnwindSafe for UpstreamOAuthRuntime
impl Send for UpstreamOAuthRuntime
impl Sync for UpstreamOAuthRuntime
impl Unpin for UpstreamOAuthRuntime
impl UnsafeUnpin for UpstreamOAuthRuntime
impl !UnwindSafe for UpstreamOAuthRuntime
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