Example #1
0
 public IAuthenticator Construct(IAuthenticatorConfiguration config)
 {
     return(new MockAuthenticator(config));
 }
Example #2
0
 public MockAuthenticator(IAuthenticatorConfiguration config)
 {
     this._config = config;
 }
 public IAuthenticator Construct(IAuthenticatorConfiguration config)
 {
     return new MockAuthenticator(config);
 }
 public MockAuthenticator(IAuthenticatorConfiguration config)
 {
     this._config = config;
 }
Example #5
0
 public IPrincipalBuilder Construct(IAuthenticatorConfiguration config)
 {
     return(Builder);
 }
        //TODO: 5-24-2010 -- consider this for a future refactoring

        /*
         * public virtual IHttpContextInspectingAuthenticator<T> Construct(T config)
         * {
         *  return new AuthenticatorType();
         * }
         */
        #endregion

        #region IAuthenticatorFactory Members
        /// <summary>
        /// Constructs an instance of the configured <see cref="T:EPS.Web.Authentication.Abstractions.IAuthenticator"/>.
        /// Intended to be called from infrastructure -- use generic method instead.
        /// </summary>
        /// <param name="config">   The configuration. </param>
        /// <returns>   An instance of an Http context inspector / authenticator. </returns>
        public IAuthenticator Construct(IAuthenticatorConfiguration config)
        {
            return(Construct((T)config));
        }