SSO
Function
This API is used to log in to the system via single sign-on (SSO). You must log in to Huawei Cloud Meeting before using functions such as creating meetings and being invited into meetings. If you do not log in, you cannot experience complete meeting functions.
Function Prototype
loginBySSO(ssoAuthInfo: SSOAuthInfo, onLoginResult?: (ret: SDKERR, reason: string, loginResult: LoginResult) => void): voidloginBySSO(ssoAuthInfo: SSOAuthInfo, onLoginResult?: (ret: SDKERR, reason: string, loginResult: LoginResult) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
ssoAuthInfo | Yes | SSOAuthInfo | SSO authentication information. |
onLoginResult | Yes | (ret: SDKERR, reason: string, loginResult: LoginResult) => void | Login callback. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
code | Yes | string | Authorization code. |
domain | Yes | string | Enterprise domain name. |
authServerType | Yes | AuthServerType | Authentication service type. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
AUTH_SERVER_TYPE_OAUTH2 | 0 | SSO. |
Return Values
void
Callback Method Parameters
(ret: SDKERR, reason: string, loginResult: LoginResult) => void
Parameter | Type | Description |
---|---|---|
ret | For details about SDKERR, see Error Code Reference. | Error code. |
reason | string | Error description. |
loginResult | LoginResult | Login result. |
Parameter | Type | Description |
---|---|---|
userUuid | string | UUID, which is the unique user ID allocated by the system. |
account | string | Account. |
thirdAccount | string | Third-party account. |
basicCallAbility | boolean | Whether the point-to-point call capability is available. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot