globocom/alf — pull request #3 by aflag (2013-09-30 12:34:05+00:00)
Title: Invalidates token if it expires right now

When creating a Token expires_in default is zero. In that case the token should already have expired, as tested by: test_should_know_when_it_has_expired. However, if Token.is_valid is called before any microseconds have passed (very unlikely), Token.is_valid would return true, when it should return false.