SDK  2.1.4
CloudBackend Software Development Kit - SDK API for C++
cbe::delegate::CreateAccountDelegate Class Referenceabstract

#include <CreateAccountDelegate.h>

Classes

struct  ErrorInfo
 
struct  Exception
 exception thrown by cbe::CloudBackend::createAccount() if the request fails. More...
 

Public Types

using Success = UserId
 
using Error = delegate::Error
 

Public Member Functions

virtual void onCreateAccountSuccess (UserId &&userId)=0
 
virtual void onCreateAccountError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

  • CloudBackend::CreateAccount

Member Function Documentation

◆ onCreateAccountSuccess()

virtual void cbe::delegate::CreateAccountDelegate::onCreateAccountSuccess ( UserId &&  userId)
pure virtual

Called upon successful account creation.

◆ onCreateAccountError()

virtual void cbe::delegate::CreateAccountDelegate::onCreateAccountError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called upon failed log in.

Parameters
errorError information passed from CloudBackend SDK.
contextAdditional context information about the original service call that has failed.

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