Esempio n. 1
0
 public RoleAuthMiddleware(ClientRequestDel next, RoleAuthOptions options)
 {
     _options = options;
     _next    = next;
 }
Esempio n. 2
0
 public RoleAuthModule(IConfigurationRoot jimuAppSettings) : base(jimuAppSettings)
 {
     _options = jimuAppSettings.GetSection(typeof(RoleAuthOptions).Name).Get <RoleAuthOptions>();
 }