-
OpenID Connect and OAuth2
Found a good introduction video on OAuth2. Keypoints: OAuth2 is not an authentication protocol. OpenID is an authentication protocal on top of OAuth2. Click the link in the video to watch it on vimeo.
-
How to test a private method of a class?
Today I got a question from my collegue how to test a method that is marked as private on a class? My first reaction was ‘well just make it public’ but of course that would break the class encapsulation, and there are ways to actually test a private method without breaking this encapsulation. What you…