public class DeviceUtil extends Object
Constructor and Description |
---|
DeviceUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
generateRandomToken() |
static org.wso2.carbon.device.mgt.mobile.windows.impl.dto.MobileCacheEntry |
getTokenEntry(String token) |
static org.wso2.carbon.device.mgt.mobile.windows.impl.dto.MobileCacheEntry |
getTokenEntryFromDeviceId(String deviceId) |
static void |
persistChallengeToken(String token,
String deviceID,
String username) |
static void |
removeTokenEntry(String token) |
public static String generateRandomToken()
public static void persistChallengeToken(String token, String deviceID, String username) throws WindowsDeviceEnrolmentException
WindowsDeviceEnrolmentException
public static org.wso2.carbon.device.mgt.mobile.windows.impl.dto.MobileCacheEntry getTokenEntry(String token) throws WindowsDeviceEnrolmentException
WindowsDeviceEnrolmentException
public static org.wso2.carbon.device.mgt.mobile.windows.impl.dto.MobileCacheEntry getTokenEntryFromDeviceId(String deviceId) throws WindowsDeviceEnrolmentException
WindowsDeviceEnrolmentException
public static void removeTokenEntry(String token)
Copyright © 2017 WSO2. All rights reserved.