Class ReauthSettings (1.9.0)

ReauthSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for IAP reauthentication policies.

Attributes

NameDescription
method google.cloud.iap_v1.types.ReauthSettings.Method
Reauth method requested.
max_age google.protobuf.duration_pb2.Duration
Reauth session lifetime, how long before a user has to reauthenticate again.
policy_type google.cloud.iap_v1.types.ReauthSettings.PolicyType
How IAP determines the effective policy in cases of hierarchial policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

Classes

Method

Method(value)

Types of reauthentication methods supported by IAP.

Values: METHOD_UNSPECIFIED (0): Reauthentication disabled. LOGIN (1): Prompts the user to log in again. PASSWORD (2): Deprecated, no longer accepted by IAP APIs. SECURE_KEY (3): User must use their secure key 2nd factor device.

PolicyType

PolicyType(value)

Type of policy in the case of hierarchial policies.

Values: POLICY_TYPE_UNSPECIFIED (0): Default value. This value is unused. MINIMUM (1): This policy acts as a minimum to other policies, lower in the hierarchy. Effective policy may only be the same or stricter. DEFAULT (2): This policy acts as a default if no other reauth policy is set.