Windows SDK API Reference
Loading...
Searching...
No Matches
IAuthService Class Referenceabstract

Authentication Service Interface. More...

#include <auth_service_interface.h>

Public Member Functions

virtual SDKError SetEvent (IAuthServiceEvent *pEvent)=0
 Set the authentication service callback event handler. More...
 
virtual SDKError SDKAuth (AuthParam &authParam)=0
 SDK Authentication. More...
 
virtual SDKError SDKAuth (AuthContext &authContext)=0
 SDK Authentication with jwt token. More...
 
virtual AuthResult GetAuthResult ()=0
 Get authentication status. More...
 
virtual const wchar_t * GetSDKIdentity ()=0
 Get SDK identity. More...
 
virtual SDKError LogOut ()=0
 Account logout. More...
 
virtual IAccountInfoGetAccountInfo ()=0
 Get login account information. More...
 
virtual LOGINSTATUS GetLoginStatus ()=0
 Get login status. More...
 
virtual IDirectShareServiceHelperGetDirectShareServiceHeler ()=0
 Get direct share service helper interface. More...
 
virtual const wchar_t * getWebinalLegalNoticesPrompt ()=0
 Get the webinal legal notices prompt. More...
 
virtual bool getWebinalLegalNoticesExplained (WebinarLegalNoticesExplainedInfo &explained_info)=0
 Get the webinal legal notices explained. More...
 

Detailed Description

Authentication Service Interface.

Definition at line 191 of file auth_service_interface.h.

Member Function Documentation

◆ GetAccountInfo()

virtual IAccountInfo * IAuthService::GetAccountInfo ( )
pure virtual

Get login account information.

Returns
If you has logged in your account successfully, the return value is a pointer to IAccountInfo, otherwise is NULL.

◆ GetAuthResult()

virtual AuthResult IAuthService::GetAuthResult ( )
pure virtual

Get authentication status.

Returns
The return value is authentication status. To get extended error information, see AuthResult enum.

◆ GetDirectShareServiceHeler()

virtual IDirectShareServiceHelper * IAuthService::GetDirectShareServiceHeler ( )
pure virtual

Get direct share service helper interface.

Returns
If you logged in your account successfully, the return value is the object pointer IDirectShareServiceHelper. Otherwise is NULL.

◆ GetLoginStatus()

virtual LOGINSTATUS IAuthService::GetLoginStatus ( )
pure virtual

Get login status.

Returns
The return value is login status. To get extended error information, see LOGINSTATUS enum.

◆ GetSDKIdentity()

virtual const wchar_t * IAuthService::GetSDKIdentity ( )
pure virtual

Get SDK identity.

Returns
The SDK identity.

◆ getWebinalLegalNoticesExplained()

virtual bool IAuthService::getWebinalLegalNoticesExplained ( WebinarLegalNoticesExplainedInfo explained_info)
pure virtual

Get the webinal legal notices explained.

◆ getWebinalLegalNoticesPrompt()

virtual const wchar_t * IAuthService::getWebinalLegalNoticesPrompt ( )
pure virtual

Get the webinal legal notices prompt.

◆ LogOut()

virtual SDKError IAuthService::LogOut ( )
pure virtual

Account logout.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ SDKAuth() [1/2]

virtual SDKError IAuthService::SDKAuth ( AuthContext authContext)
pure virtual

SDK Authentication with jwt token.

Parameters
authContextThe parameter to be used for authentication SDK, see AuthContext structure.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ SDKAuth() [2/2]

virtual SDKError IAuthService::SDKAuth ( AuthParam authParam)
pure virtual

SDK Authentication.

Parameters
authParamThe parameter to be used for authentication SDK, see AuthParam structure.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ SetEvent()

virtual SDKError IAuthService::SetEvent ( IAuthServiceEvent pEvent)
pure virtual

Set the authentication service callback event handler.

Parameters
pEventA pointer to receive authentication event.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.