Class: Google::Cloud::Iap::V1::ReauthSettings
- Inherits:
-
Object
- Object
- Google::Cloud::Iap::V1::ReauthSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iap/v1/service.rb
Overview
Configuration for IAP reauthentication policies.
Defined Under Namespace
Modules: Method, PolicyType
Instance Attribute Summary collapse
-
#max_age ⇒ ::Google::Protobuf::Duration
Reauth session lifetime, how long before a user has to reauthenticate again.
-
#method ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::Method
Reauth method requested.
-
#policy_type ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::PolicyType
How IAP determines the effective policy in cases of hierarchial policies.
Instance Attribute Details
#max_age ⇒ ::Google::Protobuf::Duration
Returns Reauth session lifetime, how long before a user has to reauthenticate again.
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 262 class ReauthSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of reauthentication methods supported by IAP. module Method # Reauthentication disabled. METHOD_UNSPECIFIED = 0 # Prompts the user to log in again. LOGIN = 1 PASSWORD = 2 # User must use their secure key 2nd factor device. SECURE_KEY = 3 # User can use any enabled 2nd factor. ENROLLED_SECOND_FACTORS = 4 end # Type of policy in the case of hierarchial policies. module PolicyType # Default value. This value is unused. POLICY_TYPE_UNSPECIFIED = 0 # This policy acts as a minimum to other policies, lower in the hierarchy. # Effective policy may only be the same or stricter. MINIMUM = 1 # This policy acts as a default if no other reauth policy is set. DEFAULT = 2 end end |
#method ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::Method
Returns Reauth method requested.
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 262 class ReauthSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of reauthentication methods supported by IAP. module Method # Reauthentication disabled. METHOD_UNSPECIFIED = 0 # Prompts the user to log in again. LOGIN = 1 PASSWORD = 2 # User must use their secure key 2nd factor device. SECURE_KEY = 3 # User can use any enabled 2nd factor. ENROLLED_SECOND_FACTORS = 4 end # Type of policy in the case of hierarchial policies. module PolicyType # Default value. This value is unused. POLICY_TYPE_UNSPECIFIED = 0 # This policy acts as a minimum to other policies, lower in the hierarchy. # Effective policy may only be the same or stricter. MINIMUM = 1 # This policy acts as a default if no other reauth policy is set. DEFAULT = 2 end end |
#policy_type ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::PolicyType
Returns How IAP determines the effective policy in cases of hierarchial policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 262 class ReauthSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Types of reauthentication methods supported by IAP. module Method # Reauthentication disabled. METHOD_UNSPECIFIED = 0 # Prompts the user to log in again. LOGIN = 1 PASSWORD = 2 # User must use their secure key 2nd factor device. SECURE_KEY = 3 # User can use any enabled 2nd factor. ENROLLED_SECOND_FACTORS = 4 end # Type of policy in the case of hierarchial policies. module PolicyType # Default value. This value is unused. POLICY_TYPE_UNSPECIFIED = 0 # This policy acts as a minimum to other policies, lower in the hierarchy. # Effective policy may only be the same or stricter. MINIMUM = 1 # This policy acts as a default if no other reauth policy is set. DEFAULT = 2 end end |