public TokenProviderMiddleware(RequestDelegate next, IOptions <Models.JwtSettings> options, IAuthenticationSchemeProvider schemes) { _next = next; _options = options.Value; Schemes = schemes; }
public AuthorizeController(IOptions <Models.JwtSettings> _jwtSettingsAccess) { _jwtSettings = _jwtSettingsAccess.Value; }
public OAuthController(IOptions <Models.JwtSettings> options) { setting = options.Value; }