Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Adds support for leeway (and future validation options) #138

Closed
wants to merge 66 commits into from

Conversation

dgrijalva
Copy link
Owner

See #131

itsjamie and others added 30 commits July 13, 2015 16:14
Must implement interface Claims, which means there is a Valid method.
Only verify claim if it isn't a default value.

The alternative here would be to use pointers in the Claims structure then we
would know which were nil, or if they were explicitly set to zero in the
claim section

Updated MapClaim implementation to check for existance of keys before
using them.

If they don't exists, validation functions simply return true.
Still need to add a test that utilizes the defaults of the structured
object.

Update Cmdline app

Update package reference for PR.

Update examples
Move examples into testable files instead of README
Move request processing stuff to sub-package
…ier to read when keyfunc is an inline closure
Add new interface Extractor for making token extraction pluggable
@dgrijalva
Copy link
Owner Author

this should be opened against branch_3_0_0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants