Created
September 5, 2012 13:27
-
-
Save jmarnold/3636506 to your computer and use it in GitHub Desktop.
Authentication import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyRegistry : FubuRegistry | |
{ | |
public MyRegistry() | |
{ | |
// There are services registered here but there are a couple of defaults missing and it's confusing | |
Import<ApplyAuthentication>(x => { | |
// By default we exclude actioncalls/models with the NotAuthenticatedAttribute | |
x.Exclude(chain => chain.SomeCustomFilter()); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment