Interface PasswordLeakVerificationOrBuilder (3.1.0)

public interface PasswordLeakVerificationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCanonicalizedUsername()

public abstract String getCanonicalizedUsername()

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.

string canonicalized_username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The canonicalizedUsername.

getCanonicalizedUsernameBytes()

public abstract ByteString getCanonicalizedUsernameBytes()

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.

string canonicalized_username = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for canonicalizedUsername.

getCredentialsLeaked()

public abstract boolean getCredentialsLeaked()

Output only. Whether or not the user's credentials are present in a known leak.

bool credentials_leaked = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The credentialsLeaked.

getHashedUserCredentials()

public abstract ByteString getHashedUserCredentials()

Optional. Scrypt hash of the username+password that the customer wants to verify against a known password leak.

bytes hashed_user_credentials = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The hashedUserCredentials.