You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
251 B

  1. package request
  2. import (
  3. "github.com/dgrijalva/jwt-go"
  4. uuid "github.com/satori/go.uuid"
  5. )
  6. // Custom claims structure
  7. type CustomClaims struct {
  8. UUID uuid.UUID
  9. ID uint
  10. NickName string
  11. AuthorityId string
  12. jwt.StandardClaims
  13. }