This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
forked from mdigger/jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'mdigger/master'
- Loading branch information
Showing
4 changed files
with
41 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
// jwt поддерживает работу с токенами в формате JSON Web Token. | ||
// | ||
// В данной библиотеке я решил ограничиться только поддержкой основного метода подписи — HS256. | ||
// Во-первых, потому что он единственный является обязательным. Во-вторых, совершенно не хотелось | ||
// подключать дополнительные библиотеки без необходимости. В-третьих, с ним получается одна из | ||
// самых коротких подписей, что, как вы понимаете, в прямую касается длины получаемого токена. | ||
// В общем, мне показалось этого достаточно. | ||
package jwt |
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