Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb more...
Overview
Private password leak verification info.
Instance Attribute Summary collapse
-
#encrypted_leak_match_prefixes ⇒ Array<String>
Output only.
-
#encrypted_user_credentials_hash ⇒ String
Optional.
-
#lookup_hash_prefix ⇒ String
Required.
-
#reencrypted_user_credentials_hash ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
Returns a new instance of GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.
1393 1394 1395 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1393 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encrypted_leak_match_prefixes ⇒ Array<String>
Output only. List of prefixes of the encrypted potential password leaks that
matched the given parameters. They must be compared with the client-side
decryption prefix of reencrypted_user_credentials_hash
Corresponds to the JSON property encryptedLeakMatchPrefixes
1367 1368 1369 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1367 def encrypted_leak_match_prefixes @encrypted_leak_match_prefixes end |
#encrypted_user_credentials_hash ⇒ String
Optional. Encrypted Scrypt hash of the canonicalized username+password. It is
re-encrypted by the server and returned through
reencrypted_user_credentials_hash
.
Corresponds to the JSON property encryptedUserCredentialsHash
NOTE: Values are automatically base64 encoded/decoded in the client library.
1375 1376 1377 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1375 def encrypted_user_credentials_hash @encrypted_user_credentials_hash end |
#lookup_hash_prefix ⇒ String
Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized
username. It is used to look up password leaks associated with that hash
prefix.
Corresponds to the JSON property lookupHashPrefix
NOTE: Values are automatically base64 encoded/decoded in the client library.
1383 1384 1385 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1383 def lookup_hash_prefix @lookup_hash_prefix end |
#reencrypted_user_credentials_hash ⇒ String
Output only. Corresponds to the re-encryption of the
encrypted_user_credentials_hash
field. It is used to match potential password
leaks within encrypted_leak_match_prefixes
.
Corresponds to the JSON property reencryptedUserCredentialsHash
NOTE: Values are automatically base64 encoded/decoded in the client library.
1391 1392 1393 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1391 def reencrypted_user_credentials_hash @reencrypted_user_credentials_hash end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1398 1399 1400 1401 1402 1403 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 1398 def update!(**args) @encrypted_leak_match_prefixes = args[:encrypted_leak_match_prefixes] if args.key?(:encrypted_leak_match_prefixes) @encrypted_user_credentials_hash = args[:encrypted_user_credentials_hash] if args.key?(:encrypted_user_credentials_hash) @lookup_hash_prefix = args[:lookup_hash_prefix] if args.key?(:lookup_hash_prefix) @reencrypted_user_credentials_hash = args[:reencrypted_user_credentials_hash] if args.key?(:reencrypted_user_credentials_hash) end |