pub struct BackChannelLogoutManager { /* private fields */ }Expand description
Back-channel logout manager
Implementations§
Source§impl BackChannelLogoutManager
impl BackChannelLogoutManager
Sourcepub fn new(
config: BackChannelLogoutConfig,
session_manager: SessionManager,
) -> Result<Self>
pub fn new( config: BackChannelLogoutConfig, session_manager: SessionManager, ) -> Result<Self>
Create new back-channel logout manager
Sourcepub fn register_rp_config(&mut self, rp_config: RpBackChannelConfig)
pub fn register_rp_config(&mut self, rp_config: RpBackChannelConfig)
Register RP back-channel logout configuration
Sourcepub async fn process_backchannel_logout(
&mut self,
request: BackChannelLogoutRequest,
) -> Result<BackChannelLogoutResponse>
pub async fn process_backchannel_logout( &mut self, request: BackChannelLogoutRequest, ) -> Result<BackChannelLogoutResponse>
Process back-channel logout request
Sourcepub fn cleanup_expired_logouts(&mut self) -> usize
pub fn cleanup_expired_logouts(&mut self) -> usize
Clean up expired logout tracking
Sourcepub fn get_discovery_metadata(&self) -> HashMap<String, Value>
pub fn get_discovery_metadata(&self) -> HashMap<String, Value>
Get discovery metadata for back-channel logout
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackChannelLogoutManager
impl !RefUnwindSafe for BackChannelLogoutManager
impl Send for BackChannelLogoutManager
impl Sync for BackChannelLogoutManager
impl Unpin for BackChannelLogoutManager
impl !UnwindSafe for BackChannelLogoutManager
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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