Provides APIs to authorize the Zoom SDK and manage login or logout.
More...
#include <ZoomSDKAuthService.h>
Inherits NSObject.
Provides APIs to authorize the Zoom SDK and manage login or logout.
Definition at line 74 of file ZoomSDKAuthService.h.
◆ enableAutoRegisterNotificationServiceForLogin:
| - (void) enableAutoRegisterNotificationServiceForLogin: |
|
(BOOL) | enable |
|
Enables or disable auto register notification service. This is enabled by default.
- Parameters
-
| enable | YES if enabled, NO otherwise. |
◆ getAccountInfo
Gets account information of the user.
- Returns
- When user logged in, it returns ZoomSDKAccountInfo object if the function calls successfully. Otherwise, this function fails and returns nil.
◆ getNotificationServiceController
Gets notification service controller interface.
- Returns
- If the function succeeds, it returns ZoomSDKZpnsServiceController object. Otherwise, this function fails and returns nil.
◆ getSDKIdentity
| - (NSString *_Nullable) getSDKIdentity |
|
|
|
Gets SDK identity.
- Returns
- If the function succeeds, it returns the SDK identity. Otherwise, this function fails and returns nil.
◆ isAuthorized
Determines if SDK is authorized.
- Returns
- YES if it is authorized. Otherwise, NO.
◆ logout
Logout ZOOM.
/**
- Returns
- If the function succeeds, it returns ZoomSDKError_Success, meanwhile it will call asynchronously onZoomSDKLogout. Otherwise, this function returns an error.
◆ registerNotificationService:
| - (ZoomSDKError) registerNotificationService: |
|
(NSString *) | accessToken |
|
Register notification service.
- Parameters
-
| accessToken | Initialize parameter of notification service. |
- Returns
- If the function succeeds, it returns
ZoomSDKError_Success. Otherwise, this function returns an error.
◆ sdkAuth:
New authenticate SDK.
- Parameters
-
- Returns
- If the function succeeds, it returns
ZoomSDKError_Success. Otherwise, this function returns an error.
- Note
- If the jwttoken expired, will return ZoomSDKAuthDelegate::onZoomAuthIdentityExpired callback.
◆ unregisterNotificationService
Unregister notification service.
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ _delegate
◆ delegate