コード例 #1
0
 public LoginAmplaSessionUsingQueryString(IHttpRequestWrapper requestWrapper, IHttpResponseWrapper responseWrapper, IAmplaUserService amplaUserService, IFormsAuthenticationService formsAuthenticationService, IAmplaSessionStorage amplaSessionStorage)
 {
     this.requestWrapper             = requestWrapper;
     this.responseWrapper            = responseWrapper;
     this.amplaUserService           = amplaUserService;
     this.formsAuthenticationService = formsAuthenticationService;
     this.amplaSessionStorage        = amplaSessionStorage;
 }
コード例 #2
0
 public RenewSessionAdapter(IRepository <TModel> repository,
                            IAmplaUserService userService,
                            IFormsAuthenticationService formsAuthenticationService,
                            IAmplaSessionStorage sessionStorage) : base(repository)
 {
     this.userService = userService;
     this.formsAuthenticationService = formsAuthenticationService;
     this.sessionStorage             = sessionStorage;
 }
コード例 #3
0
 public SessionStateCredentialsProvider(IAmplaSessionStorage amplaSessionStorage)
 {
     this.amplaSessionStorage = amplaSessionStorage;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AlignSessionWithFormsAuthentication"/> class.
 /// </summary>
 /// <param name="httpRequest">The HTTP request.</param>
 /// <param name="amplaSessionStorage">The ampla session storage.</param>
 /// <param name="formsAuthenticationService">The forms authentication service.</param>
 public AlignSessionWithFormsAuthentication(IHttpRequestWrapper httpRequest, IAmplaSessionStorage amplaSessionStorage, IFormsAuthenticationService formsAuthenticationService)
 {
     this.httpRequest                = httpRequest;
     this.amplaSessionStorage        = amplaSessionStorage;
     this.formsAuthenticationService = formsAuthenticationService;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountController" /> class.
 /// </summary>
 /// <param name="amplaUserService">The ampla user service.</param>
 /// <param name="formsAuthenticationService">The forms authentication service.</param>
 /// <param name="amplaSessionStorage">The ampla session storage.</param>
 public AccountController(IAmplaUserService amplaUserService, IFormsAuthenticationService formsAuthenticationService, IAmplaSessionStorage amplaSessionStorage)
 {
     this.amplaUserService           = amplaUserService;
     this.formsAuthenticationService = formsAuthenticationService;
     this.amplaSessionStorage        = amplaSessionStorage;
 }