Skip to content

ws1-client-sdk/com.airwatch.sdk/SDKManager/getAuthenticationType

getAuthenticationType

open fun getAuthenticationType(): Int

Get the Authentication Type set in WS1 UEM Console.

Access Level = AW_MANAGED (for details on access permission please check SDKManager)

Return

  • 0 if No Authentication required.
  • 1 if Username and password based Authentication required.
  • 2 if Passcode based Authentication is required.
  • -2 If there is an unexpected exception.

Throws

Exception Condition
com.airwatch.sdk.AirWatchSDKException if API is not available in Anchor Application or binding with Anchor app fails