libkazv
Kazv::Api::EmailValidationData Struct Reference

#include <request_email_validation.hpp>

Inheritance diagram for Kazv::Api::EmailValidationData:
Collaboration diagram for Kazv::Api::EmailValidationData:

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::RequestEmailValidation
std::string clientSecret
 A unique string generated by the client, and used to identify the validation attempt. More...
 
std::string email
 The email address to validate. More...
 
int sendAttempt
 The server will only send an email if the send_attempt is a number greater than the most recent one which it has seen, scoped to that email + client_secret pair. More...
 
std::optional< std::string > nextLink
 Optional. More...
 

Member Data Documentation

◆ idAccessToken

std::optional<std::string> Kazv::Api::EmailValidationData::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.

◆ idServer

std::optional<std::string> Kazv::Api::EmailValidationData::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.


The documentation for this struct was generated from the following file: