示例#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());
        }
示例#2
0
        public void ValidToken()
        {
            SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass();

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