Esempio n. 1
0
 public SettingsBasedStrategy(
     IAuthenticationTokenService authService,
     IUserCredentialSource credentialSource,
     string authTokenType)
     : base(authService, credentialSource, authTokenType)
 {
 }
Esempio n. 2
0
 public ConservativeStrategy(
     IAuthenticationTokenService authService,
     IUserCredentialSource credentialSource,
     string authTokenType)
     : base(authService, credentialSource, authTokenType)
 {
 }
Esempio n. 3
0
 protected AuthenticationStrategy(
     IAuthenticationTokenService authService,
     IUserCredentialSource credentialSource,
     string authTokenType)
 {
     m_authService      = authService;
     m_credentialSource = credentialSource;
     m_authTokenType    = authTokenType;
 }
 public WebServiceConnectionBuilder WithUserCredentials(string username, string password)
 {
     m_credSource = new UserCredentialHolder(username, password);
     return(this);
 }
 public WebServiceConnectionBuilder WithUserCredentials(IUserCredentialSource source)
 {
     m_credSource = source;
     return(this);
 }
 public WebServiceConnectionBuilder WithUserCredentials( string username, string password )
 {
     m_credSource = new UserCredentialHolder( username, password );
     return this;
 }
 public WebServiceConnectionBuilder WithUserCredentials( IUserCredentialSource source )
 {
     m_credSource = source;
     return this;
 }