Dev2.Studio.Core.Models.EnvironmentModel.CreateAuthorizationService C# (CSharp) 메소드

CreateAuthorizationService() 보호된 메소드

protected CreateAuthorizationService ( IEnvironmentConnection environmentConnection ) : IAuthorizationService
environmentConnection IEnvironmentConnection
리턴 IAuthorizationService
        protected virtual IAuthorizationService CreateAuthorizationService(IEnvironmentConnection environmentConnection)
        {
            var isLocalConnection = environmentConnection.WebServerUri != null && !string.IsNullOrEmpty(environmentConnection.WebServerUri.AbsoluteUri) && environmentConnection.WebServerUri.AbsoluteUri.ToLower().Contains(Environment.MachineName.ToLower());
            return new ClientAuthorizationService(new ClientSecurityService(environmentConnection), isLocalConnection);
        }