Class SessionSettings
Stores settings related to Google Cloud Session Length, including session duration, the type of challenge (that is, method) a user faces 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 parameter. 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 are
disregarded and the session length is effectively 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 challenge method when a user's Google Cloud session expires.
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 parameter, if passed in the
authentication request, is ignored. When true, the re-authentication period is the minimum of the
session_length field and the max_age OIDC parameter.
Declaration
[JsonProperty("useOidcMaxAge")]
public virtual bool? UseOidcMaxAge { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |