public JwtProvider(IOptions <TokenAuthOptions> options) { _options = options.Value; }
public TokenProviderMiddleware(RequestDelegate next, UserAccountService userService, IOptions <TokenAuthOptions> options) { _next = next; _options = options.Value; _accountService = userService; }