Class SessionSettings
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.
Implements
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1.Data
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class SessionSettings : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxInactivity
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.
Declaration
[JsonProperty("maxInactivity")]
public virtual object MaxInactivity { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SessionLength
Optional. The session length. Setting this field to zero allows for sessions that are active indefinitely.
Also, setting session_length_enabled to false disregards session limits, which means that sessions never
expire. If use_oidc_max_age is true, for OIDC apps, the session length will be the minimum of this field
and the OIDC max_age param. If this field is set to zero, session_length_enabled must be set to false
or left unset.
Declaration
[JsonProperty("sessionLength")]
public virtual object SessionLength { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
SessionLengthEnabled
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. If session_length is set to zero, this field
must be set to false.
Declaration
[JsonProperty("sessionLengthEnabled")]
public virtual bool? SessionLengthEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
SessionReauthMethod
Optional. Session method when user's Google Cloud session is up.
Declaration
[JsonProperty("sessionReauthMethod")]
public virtual string SessionReauthMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UseOidcMaxAge
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.
Declaration
[JsonProperty("useOidcMaxAge")]
public virtual bool? UseOidcMaxAge { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |