예제 #1
0
        public TokenManager(string serviceName, NetworkCredential credential)
            : this()
        {
            this.Credential = credential;

            ServiceSettings = HostConfigurator.SecureSettingsForService(serviceName);
        }
예제 #2
0
 public TokenManager(string serviceName, string username, string password)
     : this()
 {
     UserName        = username;
     Password        = password;
     ServiceSettings = HostConfigurator.SecureSettingsForService(serviceName);
 }