Esempio n. 1
0
        public DataProviderResponse CreateAuthorizationToken(string servicesUserName, string servicesPassword, AuthenticationRequestModel request)
        {
            var parameters = new Dictionary<string, string>();
            parameters.Add(CommonParameters.ModuleName, "authentication");
            parameters.Add(CommonParameters.ServicesUserName, servicesUserName);
            parameters.Add(CommonParameters.ServicesPassword, servicesPassword);
            parameters.Add(CommonParameters.CmsUserName, request.CmsUserName);
            parameters.Add(CommonParameters.CmsRoles, request.CmsRoles);

            return new DataProviderResponse(RequestDispatcher.Get<ConvertServiceResponse>(new ConvertServiceRequest() { Parameters = parameters }));
        }
Esempio n. 2
0
 public DataProviderResponse CreateAuthorizationToken(string servicesUserName, string servicesPassword, AuthenticationRequestModel request)
 {
     throw new System.NotImplementedException();
 }