libkazv
|
#include <request_msisdn_validation.hpp>
Public Attributes | |
std::optional< std::string > | idServer |
The hostname of the identity server to communicate with. More... | |
std::optional< std::string > | idAccessToken |
An access token previously registered with the identity server. More... | |
Public Attributes inherited from Kazv::Api::RequestMsisdnValidation | |
std::string | clientSecret |
A unique string generated by the client, and used to identify the validation attempt. More... | |
std::string | country |
The two-letter uppercase ISO-3166-1 alpha-2 country code that the number in phone_number should be parsed as if it were dialled from. More... | |
std::string | phoneNumber |
The phone number to validate. More... | |
int | sendAttempt |
The server will only send an SMS if the send_attempt is a number greater than the most recent one which it has seen, scoped to that country + phone_number + client_secret triple. More... | |
std::optional< std::string > | nextLink |
Optional. More... | |
std::optional<std::string> Kazv::Api::MsisdnValidationData::idAccessToken |
An access token previously registered with the identity server.
Servers can treat this as optional to distinguish between r0.5-compatible clients and this specification version.
Required if an id_server
is supplied.
std::optional<std::string> Kazv::Api::MsisdnValidationData::idServer |
The hostname of the identity server to communicate with.
May optionally include a port. This parameter is ignored when the homeserver handles 3PID verification.
This parameter is deprecated with a plan to be removed in a future specification version for /account/password
and /register
requests.