6#ifndef _AUTH_SERVICE_INTERFACE_H_
7#define _AUTH_SERVICE_INTERFACE_H_
188class IOutlookPluginIntegrationHelper;
224 virtual const wchar_t* GenerateSSOLoginWebURL(
const wchar_t* prefix_of_vanity_url) = 0;
231 virtual SDKError SSOLoginWithWebUriProtocol(
const wchar_t* uri_protocol) = 0;
LoginType
User login type. Here are more detailed structural descriptions.
@ LoginType_Unknown
Unknown type.
@ LoginType_SSO
Login with SSO token.
struct tagAuthContext AuthContext
LOGINSTATUS
Login status. Here are more detailed structural descriptions.
@ LOGIN_FAILED
Login failed.
@ LOGIN_PROCESSING
In process of login.
@ LOGIN_SUCCESS
Login successful.
@ LoginFail_PhoneNumberFormatInValid
@ LoginFail_SMSCodeExpired
@ LoginFail_Need_Bitrthday_ask
@ LoginFail_SDKNeedUpdate
@ LoginFail_LoginTokenInvalid
@ LoginFail_WrongPassword
@ LoginFail_EmailLoginDisable
@ LoginFail_UserDisagreeLoginDisclaimer
@ LoginFail_TooManyFailedAttempts
@ LoginFail_AccountLocked
AuthResult
SDK Authentication Result. Here are more detailed structural descriptions.
@ 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.
struct tagWebinarLegalNoticesExplainedInfo WebinarLegalNoticesExplainedInfo
struct tagAuthParam AuthParam
Account information interface.
virtual const wchar_t * GetDisplayName()=0
Get the screen name of user.
virtual LoginType GetLoginType()=0
Get login type.
Authentication service callback event.
virtual void onZoomIdentityExpired()=0
Zoom identity has expired, please re-login or generate a new zoom access token via REST Api.
virtual void onLoginReturnWithReason(LOGINSTATUS ret, IAccountInfo *pAccountInfo, LoginFailReason reason)=0
Callback of login result with fail reason.
virtual ~IAuthServiceEvent()
virtual void onAuthenticationReturn(AuthResult ret)=0
Authentication result callback.
virtual void onZoomAuthIdentityExpired()=0
Zoom authentication identity will be expired in 10 minutes, please re-auth.
virtual void onLogout()=0
Logout result callback.
Authentication Service Interface.
virtual AuthResult GetAuthResult()=0
Get authentication status.
virtual bool getWebinalLegalNoticesExplained(WebinarLegalNoticesExplainedInfo &explained_info)=0
Get the webinal legal notices explained.
virtual IDirectShareServiceHelper * GetDirectShareServiceHeler()=0
Get direct share service helper interface.
virtual SDKError SetEvent(IAuthServiceEvent *pEvent)=0
Set the authentication service callback event handler.
virtual LOGINSTATUS GetLoginStatus()=0
Get login status.
virtual IAccountInfo * GetAccountInfo()=0
Get login account information.
virtual SDKError LogOut()=0
Account logout.
virtual SDKError SDKAuth(AuthContext &authContext)=0
SDK Authentication with jwt token.
virtual SDKError SDKAuth(AuthParam &authParam)=0
SDK Authentication.
virtual const wchar_t * GetSDKIdentity()=0
Get SDK identity.
virtual const wchar_t * getWebinalLegalNoticesPrompt()=0
Get the webinal legal notices prompt.
Direct sharing helper Interface.
SDK Authentication parameter with jwt token. Here are more detailed structural descriptions.
const wchar_t * jwt_token
SDK Authentication parameter with sdk key/secret. Here are more detailed structural descriptions.
const wchar_t * appKey
APP Key string.
const wchar_t * appSecret
APP Secret string.
const wchar_t * url_register_privacy_policy
const wchar_t * explained_content
tagWebinarLegalNoticesExplainedInfo()
const wchar_t * url_register_terms
const wchar_t * url_register_account_owner
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
SDK error types. Here are more detailed structural descriptions.