public AuthValidator(INancyLogger log, IConfiguration config) : base(log) { OAuth2Issuer = config.OptionalParameters["OAuth2Issuer"]; OAuthSecretKey = config.OptionalParameters["OAuth2SecretKey"]; OAuth2ClientId = config.OptionalParameters["OAuth2ClientId"]; OAuth2JwksLocation = config.OptionalParameters["OAuth2JwksLocation"]; OAuth2JwksAudience = config.OptionalParameters["OAuth2JwksAudience"]; }
public LoggingBootstrapperExtender(INancyLogger logger, IConfiguration config) { Priority = 100; _logger = logger; string loggedBodySizeLimit; if (config.OptionalParameters.TryGetValue(BodySizeLimitConfigKey, out loggedBodySizeLimit)) { int.TryParse(loggedBodySizeLimit, out _loggedBodySizeLimit); } }
public OAuth2Validator(INancyLogger log) { _log = log; }
public DemoBootstrapperExtender(INancyLogger logger) { _logger = logger; }