pub struct EndpointOIDC {
pub enabled: Option<bool>,
pub options_passthrough: bool,
pub cookie_prefix: String,
pub inactivity_timeout: u32,
pub maximum_duration: u32,
pub issuer: String,
pub client_id: String,
pub client_secret: String,
pub scopes: Vec<String>,
}
Fields§
§enabled: Option<bool>
true
if the module will be applied to traffic, false
to disable. default
true
if unspecified
options_passthrough: bool
Do not enforce authentication on HTTP OPTIONS requests. necessary if you are supporting CORS.
the prefix of the session cookie that ngrok sets on the http client to cache authentication. default is ‘ngrok.’
inactivity_timeout: u32
Integer number of seconds of inactivity after which if the user has not accessed the endpoint, their session will time out and they will be forced to reauthenticate.
maximum_duration: u32
Integer number of seconds of the maximum duration of an authenticated session. After this period is exceeded, a user must reauthenticate.
issuer: String
URL of the OIDC “OpenID provider”. This is the base URL used for discovery.
client_id: String
The OIDC app’s client ID and OIDC audience.
client_secret: String
The OIDC app’s client secret.
scopes: Vec<String>
The set of scopes to request from the OIDC identity provider.
Trait Implementations§
Source§impl Clone for EndpointOIDC
impl Clone for EndpointOIDC
Source§fn clone(&self) -> EndpointOIDC
fn clone(&self) -> EndpointOIDC
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more