pub struct OAuthProxyConfig {
pub production_url: Option<String>,
pub current_url: Option<String>,
pub secret: Option<String>,
pub max_age: f64,
}Expand description
Production-to-preview callback configuration.
Fields§
§production_url: Option<String>Production callback base URL; also overrides the environment for proxy skip checks.
current_url: Option<String>Explicit preview URL; otherwise use a trusted request host, hosting environment, or base URL.
secret: Option<String>Shared encryption secret; defaults to the authentication secret.
max_age: f64Maximum profile age in seconds, including fractions and non-finite values.
Trait Implementations§
Source§impl Clone for OAuthProxyConfig
impl Clone 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