Sample Demonstrating a Custom Token Validator with an Interface
Sample
The following sample demonstrates a custom token validator with an interface. It returns true if the generated token begins with two digits; otherwise, false. This sample demonstrates a custom token validator with an interface.