pub struct SessionSettings {
pub max_inactivity: Option<Duration>,
pub session_length: Option<Duration>,
pub session_length_enabled: Option<bool>,
pub session_reauth_method: Option<String>,
pub use_oidc_max_age: Option<bool>,
}Expand description
Stores settings related to Google Cloud Session Length including session duration, the type of challenge (i.e. method) they should face when their session expires, and other related settings.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_inactivity: Option<Duration>Optional. How long a user is allowed to take between actions before a new access token must be issued. Only set for Google Cloud apps.
session_length: Option<Duration>Optional. The session length. Setting this field to zero is equal to disabling session. Also can set infinite session by flipping the enabled bit to false below. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field and OIDC max_age param.
session_length_enabled: Option<bool>Optional. This field enables or disables Google Cloud session length. When false, all fields set above will be disregarded and the session length is basically infinite.
session_reauth_method: Option<String>Optional. Session method when user’s Google Cloud session is up.
use_oidc_max_age: Option<bool>Optional. Only useful for OIDC apps. When false, the OIDC max_age param, if passed in the authentication request will be ignored. When true, the re-auth period will be the minimum of the session_length field and the max_age OIDC param.
Trait Implementations§
Source§impl Clone for SessionSettings
impl Clone for SessionSettings
Source§fn clone(&self) -> SessionSettings
fn clone(&self) -> SessionSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more