Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class PrivatePasswordLeakVerification.
Private password leak verification info.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ lookup_hash_prefix |
string
Optional. 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. |
↳ encrypted_user_credentials_hash |
string
Optional. Encrypted Scrypt hash of the canonicalized username+password. It is re-encrypted by the server and returned through |
↳ encrypted_leak_match_prefixes |
array
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 |
string
Output only. Corresponds to the re-encryption of the |
getLookupHashPrefix
Optional. 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.
Returns | |
---|---|
Type | Description |
string |
setLookupHashPrefix
Optional. 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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEncryptedUserCredentialsHash
Optional. Encrypted Scrypt hash of the canonicalized username+password. It
is re-encrypted by the server and returned through
reencrypted_user_credentials_hash
.
Returns | |
---|---|
Type | Description |
string |
setEncryptedUserCredentialsHash
Optional. Encrypted Scrypt hash of the canonicalized username+password. It
is re-encrypted by the server and returned through
reencrypted_user_credentials_hash
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEncryptedLeakMatchPrefixes
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
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEncryptedLeakMatchPrefixes
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
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getReencryptedUserCredentialsHash
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
.
Returns | |
---|---|
Type | Description |
string |
setReencryptedUserCredentialsHash
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
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |