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