This sample demonstrates a custom IAuthorizationPolicyProvider which dynamically generates authorization policies based on arguments (in this case, an integer indicating the minimum age required to satisfy the policies requirements).
Use the links below to sign in, sign out, or to try accessing pages requiring different minimum ages.