Example #1
0
        public void TokenWithMissingNotBefore()
        {
            // NOTE: This is not currently validated and there's no way to enforce its presence.
            //       It may be enforceable in the future, in which case this will be updated with proper checks.
            SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass();

            classUnderTest.ValidateTokenShim(testTokenCreator.CreateTokenWithMissingNotBefore());
        }
Example #2
0
        public void ValidToken()
        {
            SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass();

            classUnderTest.ValidateTokenShim(testTokenCreator.CreateDefaultValidToken());
        }