Category Archives: POC

.net core GetHashCode inconsistant

I noticed something interesting today with .net core. The Object.GetHashCode() method is not returning consistent values.The values are only consistent for the instance of the .net core process.

Writing my own Xonix game.

A few months ago I took on a little side project to try and write my own version of a classic game from the 80’s – Xonix. I have worked on and off on it since then, more off than on and spent a total of 7 days on it. This little game has given… Read More »

Category: POC

Read Google chrome SAML cookies.

Recently I had to investigate for a situation where a user would sign into a Google chrome account and a desktop application on the same machine had to somehow pick up the cookie and use it to communicate to web services, very similar to Cross browser \ application SSO. 

What is OWIN?

A few posts back I was looking at OAuth and I stumbled onto some posts with references to this thing called OWIN. Initially I thought it was a framework that wrapped OAuth to make it easier to use but it turned out to be a hosting solution with support for middleware. 

Retrieving the twitter identity

In the previous article I showed how to use OAuth to connect to twitter. At this point all the authentication and authorization has been done and we are busy with the last step to retrieve the Identity information from twitter specifically.

Creating your own Active STS

The following example uses an active security token service (A-STS) that issues tokens using the WS-Trust standard. The type of STS discussed in this post is called a Active STS OR A-STS, it refers to the client that is actively in control of its own authenticated state. This client will typically have its own login window build into the… Read More »