Windows SDK API Reference
Loading...
Searching...
No Matches
auth_service_interface.h File Reference

Authentication Service Interface. More...

#include "zoom_sdk_def.h"

Go to the source code of this file.

Data Structures

struct  tagAuthParam
 SDK Authentication parameter with sdk key/secret. Here are more detailed structural descriptions. More...
 
struct  tagAuthContext
 SDK Authentication parameter with jwt token. Here are more detailed structural descriptions. More...
 
struct  tagWebinarLegalNoticesExplainedInfo
 
class  IAccountInfo
 Account information interface. More...
 
class  IAuthServiceEvent
 Authentication service callback event. More...
 
class  IAuthService
 Authentication Service Interface. More...
 

Typedefs

typedef struct tagAuthParam AuthParam
 
typedef struct tagAuthContext AuthContext
 
typedef struct tagWebinarLegalNoticesExplainedInfo WebinarLegalNoticesExplainedInfo
 

Enumerations

enum  AuthResult {
  AUTHRET_SUCCESS , AUTHRET_KEYORSECRETEMPTY , AUTHRET_KEYORSECRETWRONG , AUTHRET_ACCOUNTNOTSUPPORT ,
  AUTHRET_ACCOUNTNOTENABLESDK , AUTHRET_UNKNOWN , AUTHRET_SERVICE_BUSY , AUTHRET_NONE ,
  AUTHRET_OVERTIME , AUTHRET_NETWORKISSUE , AUTHRET_CLIENT_INCOMPATIBLE , AUTHRET_JWTTOKENWRONG
}
 SDK Authentication Result. Here are more detailed structural descriptions. More...
 
enum  LOGINSTATUS { LOGIN_IDLE , LOGIN_PROCESSING , LOGIN_SUCCESS , LOGIN_FAILED }
 Login status. Here are more detailed structural descriptions. More...
 
enum  LoginFailReason {
  LoginFail_None = 0 , LoginFail_EmailLoginDisable , LoginFail_UserNotExist , LoginFail_WrongPassword ,
  LoginFail_AccountLocked , LoginFail_SDKNeedUpdate , LoginFail_TooManyFailedAttempts , LoginFail_SMSCodeError ,
  LoginFail_SMSCodeExpired , LoginFail_PhoneNumberFormatInValid , LoginFail_LoginTokenInvalid , LoginFail_UserDisagreeLoginDisclaimer ,
  LoginFail_Mfa_Required , LoginFail_Need_Bitrthday_ask , LoginFail_OtherIssue = 100
}
 
enum  LoginType { LoginType_Unknown , LoginType_SSO }
 User login type. Here are more detailed structural descriptions. More...
 

Detailed Description

Authentication Service Interface.

Definition in file auth_service_interface.h.

Typedef Documentation

◆ AuthContext

typedef struct tagAuthContext AuthContext

◆ AuthParam

typedef struct tagAuthParam AuthParam

◆ WebinarLegalNoticesExplainedInfo

Enumeration Type Documentation

◆ AuthResult

enum AuthResult

SDK Authentication Result. Here are more detailed structural descriptions.

Enumerator
AUTHRET_SUCCESS 

Authentication is successful.

AUTHRET_KEYORSECRETEMPTY 

The key or secret to authenticate is empty.

AUTHRET_KEYORSECRETWRONG 

The key or secret to authenticate is wrong.

AUTHRET_ACCOUNTNOTSUPPORT 

The user account does not support.

AUTHRET_ACCOUNTNOTENABLESDK 

The user account is not enabled for SDK.

AUTHRET_UNKNOWN 

Unknown error.

AUTHRET_SERVICE_BUSY 

Service is busy.

AUTHRET_NONE 

Initial status.

AUTHRET_OVERTIME 

Time out.

AUTHRET_NETWORKISSUE 

Network issues.

AUTHRET_CLIENT_INCOMPATIBLE 
AUTHRET_JWTTOKENWRONG 

Account does not support this SDK version.

The jwt token to authenticate is wrong.

Definition at line 16 of file auth_service_interface.h.

17{
30};
@ AUTHRET_NONE
Initial status.
@ AUTHRET_UNKNOWN
Unknown error.
@ AUTHRET_OVERTIME
Time out.
@ AUTHRET_SERVICE_BUSY
Service is busy.
@ AUTHRET_SUCCESS
Authentication is successful.
@ AUTHRET_JWTTOKENWRONG
Account does not support this SDK version.
@ AUTHRET_ACCOUNTNOTSUPPORT
The user account does not support.
@ AUTHRET_KEYORSECRETEMPTY
The key or secret to authenticate is empty.
@ AUTHRET_NETWORKISSUE
Network issues.
@ AUTHRET_ACCOUNTNOTENABLESDK
The user account is not enabled for SDK.
@ AUTHRET_CLIENT_INCOMPATIBLE
@ AUTHRET_KEYORSECRETWRONG
The key or secret to authenticate is wrong.

◆ LoginFailReason

Enumerator
LoginFail_None 
LoginFail_EmailLoginDisable 
LoginFail_UserNotExist 
LoginFail_WrongPassword 
LoginFail_AccountLocked 
LoginFail_SDKNeedUpdate 
LoginFail_TooManyFailedAttempts 
LoginFail_SMSCodeError 
LoginFail_SMSCodeExpired 
LoginFail_PhoneNumberFormatInValid 
LoginFail_LoginTokenInvalid 
LoginFail_UserDisagreeLoginDisclaimer 
LoginFail_Mfa_Required 
LoginFail_Need_Bitrthday_ask 
LoginFail_OtherIssue 

Definition at line 44 of file auth_service_interface.h.

45{
61};
@ LoginFail_None
@ LoginFail_SMSCodeError
@ LoginFail_OtherIssue
@ LoginFail_Mfa_Required
@ LoginFail_PhoneNumberFormatInValid
@ LoginFail_SMSCodeExpired
@ LoginFail_Need_Bitrthday_ask
@ LoginFail_SDKNeedUpdate
@ LoginFail_LoginTokenInvalid
@ LoginFail_WrongPassword
@ LoginFail_EmailLoginDisable
@ LoginFail_UserDisagreeLoginDisclaimer
@ LoginFail_UserNotExist
@ LoginFail_TooManyFailedAttempts
@ LoginFail_AccountLocked

◆ LOGINSTATUS

Login status. Here are more detailed structural descriptions.

Enumerator
LOGIN_IDLE 

Unlogged in.

LOGIN_PROCESSING 

In process of login.

LOGIN_SUCCESS 

Login successful.

LOGIN_FAILED 

Login failed.

Definition at line 36 of file auth_service_interface.h.

37{
42};
@ LOGIN_IDLE
Unlogged in.
@ LOGIN_FAILED
Login failed.
@ LOGIN_PROCESSING
In process of login.
@ LOGIN_SUCCESS
Login successful.

◆ LoginType

enum LoginType

User login type. Here are more detailed structural descriptions.

Enumerator
LoginType_Unknown 

Unknown type.

LoginType_SSO 

Login with SSO token.

Definition at line 116 of file auth_service_interface.h.

117{
120};
@ LoginType_Unknown
Unknown type.
@ LoginType_SSO
Login with SSO token.