onboardapi  9.10.0
by Rheinmetall
M_Auth Namespace Reference

Namespaces

 AuthStateKind
 
 

Classes

class  IService
 
class  IClient
 
struct  FailureReasonType
 Contains failure reason type. More...
 
struct  LoginEventType
 Contains login event type. More...
 
struct  UserIdentityType
 Contains minimal info about the logged in user. More...
 
struct  AuthStatusType
 Contains auth status type. More...
 
struct  CmdLogoutUser
 Log the user out. More...
 
struct  EventLogin
 Login events. More...
 
struct  ReportAuthStatus
 Report the current auth status of a user. More...
 
class  Service
 new oo-api More...
 
class  Client
 new oo-api More...
 

Typedefs

typedef std::vector< M_Auth::FailureReasonTypeFailureReasonOptionalType
 
typedef std::vector< M_Auth::UserIdentityTypeUserIdentityOptionalType
 
typedef std::shared_ptr< IClientIClientPtr
 
typedef std::shared_ptr< IServiceIServicePtr
 

Functions

std::vector< std::string > getMethodsAllIService ()
 
std::vector< std::string > getMethodsAllIClient ()
 
template<class IServiceDerived >
std::enable_if< std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::map< std::string, std::vector< ddkit::callback::Base * > > >::type detectCallbacksIService (IServiceDerived &callbacks)
 
template<class IServiceDerived >
std::enable_if< std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIService (IServiceDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IServiceDerived >
std::enable_if<!std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIService (IServiceDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IClientDerived >
std::enable_if< std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::map< std::string, std::vector< ddkit::callback::Base * > > >::type detectCallbacksIClient (IClientDerived &callbacks)
 
template<class IClientDerived >
std::enable_if< std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIClient (IClientDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IClientDerived >
std::enable_if<!std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIClient (IClientDerived &callbacks, bool isCheckMostDerivedClassType)
 

Typedef Documentation

◆ FailureReasonOptionalType

Optional FailureReasonType. List should only contain max 1 element. Empty list means no value is specified.

◆ IClientPtr

typedef std::shared_ptr<IClient> M_Auth::IClientPtr

◆ IServicePtr

typedef std::shared_ptr<IService> M_Auth::IServicePtr

◆ UserIdentityOptionalType

Optional UserIdentityType. List should only contain max 1 element. Empty list means no value is specified.

Function Documentation

◆ detectCallbacksIClient()

template<class IClientDerived >
std::enable_if<std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::map<std::string, std::vector<ddkit::callback::Base*> > >::type M_Auth::detectCallbacksIClient ( IClientDerived &  callbacks)

◆ detectCallbacksIService()

template<class IServiceDerived >
std::enable_if<std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::map<std::string, std::vector<ddkit::callback::Base*> > >::type M_Auth::detectCallbacksIService ( IServiceDerived &  callbacks)

◆ detectMethodsIClient() [1/2]

template<class IClientDerived >
std::enable_if<std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Auth::detectMethodsIClient ( IClientDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIClient() [2/2]

template<class IClientDerived >
std::enable_if<!std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Auth::detectMethodsIClient ( IClientDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIService() [1/2]

template<class IServiceDerived >
std::enable_if<std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Auth::detectMethodsIService ( IServiceDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIService() [2/2]

template<class IServiceDerived >
std::enable_if<!std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Auth::detectMethodsIService ( IServiceDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ getMethodsAllIClient()

std::vector<std::string> M_Auth::getMethodsAllIClient ( )

◆ getMethodsAllIService()

std::vector<std::string> M_Auth::getMethodsAllIService ( )