A demo for custom authentication on WPF.
Support Authentication and Authorization.
2 user for demo:
- Username: Mark - Password: Mark (Admin)
- Username: John - Password: John (Normal User)
Admin can gain access to both secret view and admin view.
Normal User can only gain access to secret view.
Based on artical: https://social.technet.microsoft.com/wiki/contents/articles/25726.wpf-implementing-custom-authentication-and-authorization.aspx