Created
February 1, 2012 03:23
-
-
Save ritou/1714900 to your computer and use it in GitHub Desktop.
Memo : JR System UserInfo & Resource
This file contains hidden or 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
| Memo : JR System UserInfo & Resource | |
| メモメモ | |
| === | |
| やること | |
| UserInfo | |
| - parse access token | |
| - return distributed claims | |
| Resource | |
| - parse access token | |
| - return claims | |
| === | |
| AccessToken | |
| AccessToken for UserInfo | |
| - UserID(tax-PPID?) | |
| - ResourceのURL | |
| - Signatureとか | |
| →単純なHMACのJWTで良い? | |
| AccessToken for Resource | |
| - UserID(tax-PPID?) | |
| - Signatureとか | |
| →これまた単純なHMACのJWTで良い? | |
| === | |
| DBっぽいなにか | |
| UserInfoがもつやつ | |
| - UserID | |
| - ResourceURL | |
| - AccessToken作るための何か | |
| Resourceがもつやつ | |
| - UserID | |
| - Claims |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment