public TokenProviderMiddleware(RequestDelegate next, IOptions <Models.JwtSettings> options, IAuthenticationSchemeProvider schemes)
 {
     _next    = next;
     _options = options.Value;
     Schemes  = schemes;
 }
Пример #2
0
 public AuthorizeController(IOptions <Models.JwtSettings> _jwtSettingsAccess)
 {
     _jwtSettings = _jwtSettingsAccess.Value;
 }
Пример #3
0
 public OAuthController(IOptions <Models.JwtSettings> options)
 {
     setting = options.Value;
 }