ws1-client-sdk/com.airwatch.sdk/SDKManager/getSSOStatus
getSSOStatus¶
open fun getSSOStatus(): SsoSessionReturnCode
Provides the status of the broker app even before SDKManager instance is initialized. It tries to perform connect() and checks whether SSO is enabled or not. If the connect() fails, it will throw corresponding SsoSessionReturnCode.
Access Level = NONE (for details on access permission please check SDKManager)
Return¶
Non-null SsoSessionReturnCode indicating the SSO status:
- SsoSessionReturnCode.SUCCESS if SSO is enabled
- SsoSessionReturnCode.SSO_MODE_DISABLED if SSO is disabled
- SsoSessionReturnCode.BROKER_APP_NOT_ENROLLED if Anchor app is not enrolled
- SsoSessionReturnCode.BROKER_APP_NOT_AVAILABLE if Anchor app is not available on the device
- SsoSessionReturnCode.FAIL some error occurred during call