|
|
@ -18,6 +18,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
package org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst;
|
|
|
|
package org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.wso2.carbon.apimgt.annotations.api.Permission;
|
|
|
|
import org.wso2.carbon.device.mgt.mobile.windows.api.common.exceptions.WindowsDeviceEnrolmentException;
|
|
|
|
import org.wso2.carbon.device.mgt.mobile.windows.api.common.exceptions.WindowsDeviceEnrolmentException;
|
|
|
|
import org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst.beans.Credentials;
|
|
|
|
import org.wso2.carbon.device.mgt.mobile.windows.api.services.authbst.beans.Credentials;
|
|
|
|
|
|
|
|
|
|
|
@ -36,5 +37,6 @@ public interface BSTProvider {
|
|
|
|
@POST
|
|
|
|
@POST
|
|
|
|
@Consumes(MediaType.APPLICATION_JSON)
|
|
|
|
@Consumes(MediaType.APPLICATION_JSON)
|
|
|
|
@Path("/authentication")
|
|
|
|
@Path("/authentication")
|
|
|
|
|
|
|
|
@Permission(name = "Enroll Device", permission = "/device-mgt/devices/enroll/windows")
|
|
|
|
Response getBST(Credentials credentials) throws WindowsDeviceEnrolmentException;
|
|
|
|
Response getBST(Credentials credentials) throws WindowsDeviceEnrolmentException;
|
|
|
|
}
|
|
|
|
}
|
|
|
|