Callback event of ZOOM SDK authorization. Authorize Zoom SDK and the custom application with the key/secret before usage. Once authorize successfully, return ZoomSDKAuthError_Success
via onZoomSDKAuthReturn.
More...
#include <ZoomSDKAuthService.h>
Inherits NSObject.
Callback event of ZOOM SDK authorization. Authorize Zoom SDK and the custom application with the key/secret before usage. Once authorize successfully, return ZoomSDKAuthError_Success
via onZoomSDKAuthReturn.
- Note
- You should authorize ZOOM SDK firstly before using it, or no, it may not work.
Definition at line 56 of file ZoomSDKAuthService.h.
◆ enableAutoRegisterNotificationServiceForLogin:
- (void) enableAutoRegisterNotificationServiceForLogin: |
|
(BOOL) | enable |
|
Enable or disable auto register notification service. This is enabled by default.
- Parameters
-
enable | YES means enabled, otherwise not. |
◆ getAccountInfo
Get user's account information.
- Returns
- When user logged in, it will return ZoomSDKAccountInfo object if the function calls successfully. Otherwise returns nil.
◆ getNotificationServiceController
Get notification service controller interface.
- Returns
- If the function succeeds, it will return a ZoomSDKZpnsServiceController object.
◆ getSDKIdentity
- (NSString *_Nullable) getSDKIdentity |
|
|
|
Get SDK identity.
- Returns
- The SDK identity.
◆ isAuthorized
Determine if SDK is authorized.
- Returns
- YES means that it is authorized, otherwise failed.
◆ logout
Logout ZOOM.
/**
- Returns
- If the function succeeds, it will return ZoomSDKError_Success, meanwhile it will call asynchronously onZoomSDKLogout.
◆ registerNotificationService:
- (ZoomSDKError) registerNotificationService: |
|
(NSString *) | accessToken |
|
Register notification service.
- Parameters
-
accessToken | Initialize parameter of notification service. |
- Returns
- If the function succeeds, it will return
ZoomSDKError_Success
. Otherwise failed. To get extended error information, see ZoomSDKError.
◆ sdkAuth:
New authenticate SDK.
- Parameters
-
jwttoken | A Class object containing auth information. |
- Returns
- If the function succeeds, it will return
ZoomSDKError_Success
.
- Note
- If the jwttoken expired, will return callback.
◆ unregisterNotificationService
Unregister notification service.
- Returns
- If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.
◆ _delegate
◆ delegate