public sealed class PasswordLeakVerification : IMessage<PasswordLeakVerification>, IEquatable<PasswordLeakVerification>, IDeepCloneable<PasswordLeakVerification>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1beta1 API class PasswordLeakVerification.
Optional. The username part of the user credentials for which we want to
trigger a leak check in canonicalized form. This is the same data used to
create the hashed_user_credentials on the customer side.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003ePasswordLeakVerification\u003c/code\u003e class within the Google Cloud reCAPTCHA Enterprise v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePasswordLeakVerification\u003c/code\u003e class is used to check if a user's credentials have been involved in a known data leak.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eCanonicalizedUsername\u003c/code\u003e, \u003ccode\u003eCredentialsLeaked\u003c/code\u003e, and \u003ccode\u003eHashedUserCredentials\u003c/code\u003e to manage and assess password leak information.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a default constructor and another that accepts an existing \u003ccode\u003ePasswordLeakVerification\u003c/code\u003e object for copying.\u003c/p\u003e\n"]]],[],null,["# Google Cloud reCAPTCHA Enterprise v1beta1 API - Class PasswordLeakVerification (2.0.0-beta09)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta09 (latest)](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification)\n- [2.0.0-beta07](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/2.0.0-beta07/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/1.0.0-beta06/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification) \n\n public sealed class PasswordLeakVerification : IMessage\u003cPasswordLeakVerification\u003e, IEquatable\u003cPasswordLeakVerification\u003e, IDeepCloneable\u003cPasswordLeakVerification\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1beta1 API class PasswordLeakVerification.\n\nPassword leak verification info. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PasswordLeakVerification \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PasswordLeakVerification](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PasswordLeakVerification](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PasswordLeakVerification](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.PasswordLeakVerification), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.RecaptchaEnterprise.V1Beta1](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecaptchaEnterprise.V1Beta1.dll\n\nConstructors\n------------\n\n### PasswordLeakVerification()\n\n public PasswordLeakVerification()\n\n### PasswordLeakVerification(PasswordLeakVerification)\n\n public PasswordLeakVerification(PasswordLeakVerification other)\n\nProperties\n----------\n\n### CanonicalizedUsername\n\n public string CanonicalizedUsername { get; set; }\n\nOptional. The username part of the user credentials for which we want to\ntrigger a leak check in canonicalized form. This is the same data used to\ncreate the hashed_user_credentials on the customer side.\n\n### CredentialsLeaked\n\n public bool CredentialsLeaked { get; set; }\n\nOutput only. Whether or not the user's credentials are present in a known\nleak.\n\n### HashedUserCredentials\n\n public ByteString HashedUserCredentials { get; set; }\n\nOptional. Scrypt hash of the username+password that the customer wants to\nverify against a known password leak."]]