public AccountController(IIdentityServerInteractionService interaction,
                          IAuthenticationSchemeProvider authenticationSchemeProvider)
 {
     _interaction = interaction;
     _authenticationSchemeProvider = authenticationSchemeProvider;
 }
 public JwtAuthenticationMiddleware(RequestDelegate next, IAuthenticationSchemeProvider schemes)
 {
     this._next   = next ?? throw new ArgumentNullException(nameof(next));
     this.Schemes = schemes ?? throw new ArgumentNullException(nameof(schemes));
 }
Пример #3
0
 public AuthController(IAuthenticationSchemeProvider authenticationSchemeProvider)
 {
     this.authenticationSchemeProvider = authenticationSchemeProvider;
 }
 public ApplicationSignInManager(UserManager <ApplicationUser> userManager, IHttpContextAccessor contextAccessor, IUserClaimsPrincipalFactory <ApplicationUser> claimsFactory, IOptions <IdentityOptions> optionsAccessor, ILogger <SignInManager <ApplicationUser> > logger, IAuthenticationSchemeProvider schemes, IUserConfirmation <ApplicationUser> confirmation) : base(userManager, contextAccessor, claimsFactory, optionsAccessor, logger, schemes, confirmation)
 {
 }
Пример #5
0
 public AccountController(UserGateway userGateway, UserService userService, TokenService tokenService, IAuthenticationSchemeProvider authenticationSchemeProvider, IOptions <SpaOptions> spaOptions)
 {
     _userGateway  = userGateway;
     _userService  = userService;
     _tokenService = tokenService;
     _authenticationSchemeProvider = authenticationSchemeProvider;
     _spaOptions = spaOptions;
     _random     = new Random();
 }
 public AuthenticationMiddleware(IAuthenticationSchemeProvider schemes, RequestDelegate next)
 {
     Schemes = schemes ?? throw new ArgumentNullException(nameof(schemes));
     _next   = next ?? throw new ArgumentNullException(nameof(next));
 }