-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement per-object custom typed fields (#391)
* preliminary per-object typed claim handling * Tests for issue 384 * Edit tests * unify style * use table-driven tests * remove test for field name * appease linter * Tweak things to be a bit more generic This is preparation to make things available for other packages * slightly optimize * Use stronger words of warning I think this is useful, but also very dangerous. here be dragons * Return an error if a typed claim was specified, but token does not support it * Add missing definitions * Implement TypedField in jwk * consolidate definitions * Implement typed fields via jwk.Parse (i.e. jwk.Set) * Add notes in Changes * appease linter Co-authored-by: Mikhail Fludkov <[email protected]>
- Loading branch information
Showing
20 changed files
with
725 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.