public AccountController(UserManager <User> userManager, SignInManager <User> signInManager, IJwtTokenSource tokenSource) { this.userManager = userManager; this.signInManager = signInManager; this.tokenSource = tokenSource; }
public HttpRequestBuilder ( IJwtTokenSource tokenSource, IContentSerializer serializer ) { _tokenSource = tokenSource; _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); }
public HttpServiceAddAuthorizationHeader ( IJwtTokenSource tokenSource, IHttpService next ) { _tokenSource = tokenSource ?? throw new ArgumentNullException(nameof(tokenSource)); _next = next ?? throw new ArgumentNullException(nameof(next)); }