initial v0.8 pre-release
This commit is contained in:
@@ -9,6 +9,8 @@ import (
|
||||
|
||||
// ParseUnverifiedJWT parses JWT token and returns its claims
|
||||
// but DOES NOT verify the signature.
|
||||
//
|
||||
// It verifies only the exp, iat and nbf claims.
|
||||
func ParseUnverifiedJWT(token string) (jwt.MapClaims, error) {
|
||||
claims := jwt.MapClaims{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user