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
Optional.
-
#method ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::Method
Optional.
-
#policy_type ⇒ ::Google::Cloud::Iap::V1::ReauthSettings::PolicyType
Optional.
Instance Attribute Details
#max_age ⇒ ::Google::Protobuf::Duration
Returns Optional. Reauth session lifetime, how long before a user has to reauthenticate again.
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 320 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 hierarchical 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 Optional. Reauth method requested.
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 320 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 hierarchical 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 Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 |
# File 'proto_docs/google/cloud/iap/v1/service.rb', line 320 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 hierarchical 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 |