public AccountsController( IOwinContextProvider owinContextProvider, IUserInformationService userInformationService) { this.owinContextProvider = owinContextProvider; this.userInformationService = userInformationService; }
public AuthHttpService(IOwinContextProvider owinContextProvider, IUserIdentityProvider userIdentityProvider) { _owinContextProvider = owinContextProvider; _userIdentityProvider = userIdentityProvider; }
public IdentityApplicationUserManager(IOwinContextProvider owinContextProvider, IUserIdentityProvider userIdentityProvider) { _owinContextProvider = owinContextProvider; _userIdentityProvider = userIdentityProvider; }
public UsersController(IOwinContextProvider owinContextProvider) { owinContext = owinContextProvider.GetOwinContext(HttpContext.ApplicationInstance.Context); }
/// <summary> /// Initializes a new instance of the <see cref="RequestContext" /> class. /// </summary> /// <param name="owinContextProvider">The owin context provider.</param> public RequestContext(IOwinContextProvider owinContextProvider) { this.userInfo = new Lazy <IUserInfo>(() => InitializeUserInfo(owinContextProvider.CurrentContext)); }
public TestController(IOwinContextProvider provider, IUserRepository userRepository, IAccountRepository accountRepository) { this.provider = provider; this.userRepository = userRepository; this.accountRepository = accountRepository; }