SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
cbe::delegate::LogInDelegate Class Referenceabstract

#include <LogInDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Error = cbe::delegate::Error
 
using Success = CloudBackend
 

Public Member Functions

virtual void onLogInSuccess (CloudBackend &&cloudBackend)=0
 
virtual void onLogInError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

  • cbe::CloudBackend::logIn(const std::string&,const std::string&,const std::string&,cbe::delegate::LogInDelegatePtr)
    See Example of asynchronous login

Member Typedef Documentation

◆ Success

Type of object delivered on success. I.e., the object delivered through success callback onLogInSuccess(CloudBackend&&).

Member Function Documentation

◆ onLogInError()

virtual void cbe::delegate::LogInDelegate::onLogInError ( 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.

◆ onLogInSuccess()

virtual void cbe::delegate::LogInDelegate::onLogInSuccess ( CloudBackend &&  cloudBackend)
pure virtual

Called upon successful log in.

Parameters
cloudBackendInstance of a CloudBackend holding the session.

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