pub struct OAuthProxyConfig {
pub current_url: Option<String>,
pub production_url: Option<String>,
pub max_age_seconds: f64,
pub secret: Option<String>,
}Expand description
Immutable application configuration.
URLs are application origins; the auth base path is appended to the production URL. A dedicated secret can be shared between hosts independently of their ordinary authentication secrets.
Fields§
§current_url: Option<String>§production_url: Option<String>§max_age_seconds: f64§secret: Option<String>Trait Implementations§
Source§impl Clone for OAuthProxyConfig
impl Clone for OAuthProxyConfig
Source§impl Debug for OAuthProxyConfig
impl Debug for OAuthProxyConfig
Auto Trait Implementations§
impl Freeze for OAuthProxyConfig
impl RefUnwindSafe for OAuthProxyConfig
impl Send for OAuthProxyConfig
impl Sync for OAuthProxyConfig
impl Unpin for OAuthProxyConfig
impl UnsafeUnpin for OAuthProxyConfig
impl UnwindSafe for OAuthProxyConfig
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