NAME
Google::Spanner::Auth::V1::Authentication - Compiled Protocol Buffers messages for google/spanner/auth/v1/authentication.proto
SYNOPSIS
use Google::Spanner::Auth::V1::Authentication;
my $msg = Google::Spanner::Auth::V1::Authentication::HashParameters->new({
argon2_id_parameters => $argon2_id_parameters,
});
# Read or update a field
my $val = $msg->argon2_id_parameters();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Spanner::Auth::V1::Authentication::HashParameters->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/spanner/auth/v1/authentication.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Spanner::Auth::V1::Authentication::HashParameters
HashParameters contains the parameters used to hash the password.
Inherits from Protobuf::Message.
Accessors
$msg->argon2_id_parameters()/$msg->argon2_id_parameters($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::HashParameters::Argon2IdParameters)The Argon2 parameters used to hash the password.
Google::Spanner::Auth::V1::Authentication::PasswordAuthenticationHandshakeRequest
PasswordAuthenticationHandshakeRequest is used to initiate the authentication process by requesting the server to determine how the client should authenticate.
Inherits from Protobuf::Message.
Google::Spanner::Auth::V1::Authentication::PasswordAuthenticationHandshakeResponse
PasswordAuthenticationHandshakeResponse is returned by the server to determine which protocol should be used to authenticate.
Inherits from Protobuf::Message.
Accessors
$msg->password_authentication_protocol()/$msg->password_authentication_protocol($value)Type:
Enum(Google::Spanner::Auth::V1::PasswordAuthenticationProtocol)The authentication method the client should use to authenticate.
$msg->hash_parameters()/$msg->hash_parameters($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::HashParameters)The hash parameters used to hash the password, this is used to ensure the client and server are using the same parameters.
Google::Spanner::Auth::V1::Authentication::PasswordCredential
The password credential for a user that is sent from the client to the server during authentication.
Inherits from Protobuf::Message.
Accessors
$msg->scram()/$msg->scram($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::PasswordCredential::Scram)The SCRAM credential contains the server and stored keys.
$msg->opaque()/$msg->opaque($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::PasswordCredential::Opaque)The OPAQUE credential contains the client public key, masking key, envelope nonce, and auth tag.
Google::Spanner::Auth::V1::Authentication::InitialScramResponse
InitialScramResponse is returned by the server so that the client can generate the credential using the SCRAM protocol.
Inherits from Protobuf::Message.
Accessors
$msg->salt()/$msg->salt($value)Type:
BytesThe salt to use when hashing the password.
$msg->server_nonce()/$msg->server_nonce($value)Type:
BytesNonce provided by the server.
Google::Spanner::Auth::V1::Authentication::ScramNewCredentialRequest
A request to create a new SCRAM credentials.
Inherits from Protobuf::Message.
Accessors
$msg->initial_request()/$msg->initial_request($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::ScramNewCredentialRequest::InitialRequest)The initial request to start the SCRAM handshake.
$msg->final_request()/$msg->final_request($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::ScramNewCredentialRequest::FinalRequest)The final request to complete the SCRAM handshake.
Google::Spanner::Auth::V1::Authentication::ScramNewCredentialResponse
The response to create a new user using SCRAM credentials.
Inherits from Protobuf::Message.
Accessors
$msg->initial_response()/$msg->initial_response($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::InitialScramResponse)The initial response from the server.
$msg->final_response()/$msg->final_response($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::ScramNewCredentialResponse::FinalResponse)The final response from the server.
Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialRequest
A request to create new OPAQUE credentials.
Inherits from Protobuf::Message.
Accessors
$msg->initial_request()/$msg->initial_request($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialRequest::InitialRequest)The initial request for OPAQUE user creation.
$msg->final_request()/$msg->final_request($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialRequest::FinalRequest)The final request for OPAQUE user creation.
Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialResponse
The response from the server when creating a new user using OPAQUE credentials.
Inherits from Protobuf::Message.
Accessors
$msg->initial_response()/$msg->initial_response($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialResponse::InitialResponse)The initial response for OPAQUE user creation.
$msg->final_response()/$msg->final_response($value)Type:
Message(Google::Spanner::Auth::V1::Authentication::OpaqueNewCredentialResponse::FinalResponse)The final response for OPAQUE user creation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Spanner::Auth::V1::Authentication::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.