pub struct CasConfig {
pub server_url: String,
pub service_url: String,
pub protocol_version: CasProtocolVersion,
pub allow_proxy: bool,
pub timeout_secs: u64,
pub renew: bool,
}Expand description
CAS client configuration.
Fields§
§server_url: StringCAS server base URL (e.g. https://cas.example.com/cas).
service_url: StringService URL — the URL of this application that CAS redirects back to.
protocol_version: CasProtocolVersionCAS protocol version to use.
allow_proxy: boolWhether to allow proxy tickets.
timeout_secs: u64HTTP request timeout.
renew: boolWhether to follow renew semantics (force re-authentication).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CasConfig
impl RefUnwindSafe for CasConfig
impl Send for CasConfig
impl Sync for CasConfig
impl Unpin for CasConfig
impl UnsafeUnpin for CasConfig
impl UnwindSafe for CasConfig
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