pub struct FrontChannelLogoutManager { /* private fields */ }Expand description
Front-channel logout manager
Implementations§
Source§impl FrontChannelLogoutManager
impl FrontChannelLogoutManager
Sourcepub fn new(
config: FrontChannelLogoutConfig,
session_manager: SessionManager,
) -> Self
pub fn new( config: FrontChannelLogoutConfig, session_manager: SessionManager, ) -> Self
Create new front-channel logout manager
Sourcepub fn register_rp_config(&mut self, rp_config: RpFrontChannelConfig)
pub fn register_rp_config(&mut self, rp_config: RpFrontChannelConfig)
Register RP front-channel logout configuration
Sourcepub async fn process_frontchannel_logout(
&mut self,
request: FrontChannelLogoutRequest,
) -> Result<FrontChannelLogoutResponse>
pub async fn process_frontchannel_logout( &mut self, request: FrontChannelLogoutRequest, ) -> Result<FrontChannelLogoutResponse>
Process front-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 front-channel logout
Trait Implementations§
Source§impl Clone for FrontChannelLogoutManager
impl Clone for FrontChannelLogoutManager
Source§fn clone(&self) -> FrontChannelLogoutManager
fn clone(&self) -> FrontChannelLogoutManager
Returns a duplicate of the value. Read more
1.0.0 · 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 FrontChannelLogoutManager
impl RefUnwindSafe for FrontChannelLogoutManager
impl Send for FrontChannelLogoutManager
impl Sync for FrontChannelLogoutManager
impl Unpin for FrontChannelLogoutManager
impl UnwindSafe for FrontChannelLogoutManager
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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