Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractClaims ¶ added in v0.1.1
func ExtractClaims(tokenString string) (*gojwt.StandardClaims, error)
func SignWithHS256 ¶ added in v0.1.1
func SignWithHS256(claims *gojwt.StandardClaims, secret []byte) (token string, err error)
func VerifyWithHMAC ¶ added in v0.1.1
func VerifyWithHMAC(tokenString string, secret []byte) (*gojwt.StandardClaims, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.