protected override void Act() { attributes = new NameValueCollection(); attributes.Add("key1", "value1"); attributes.Add("key2", "value2"); authUsingCustom = ConfigureSecuritySettings.AuthorizeUsingCustomProviderNamed <CustomAuthorizationProvider>("custom provider", attributes); }
protected override void Act() { authUsingCustom = ConfigureSecuritySettings.AuthorizeUsingCustomProviderNamed("custom provider", typeof(CustomAuthorizationProvider)); }
protected override void Act() { attributes = new NameValueCollection(); attributes.Add("key1", "value1"); attributes.Add("key2", "value2"); authUsingCustom = ConfigureSecuritySettings.AuthorizeUsingCustomProviderNamed<CustomAuthorizationProvider>("custom provider", attributes); }