Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SecretKey = []byte("awesome jwt nice to use")
)
Functions ¶
func AuthenticationGuard ¶
func GetCurrentUser ¶
Types ¶
type CustomerClaims ¶
type CustomerClaims struct {
User *models.User
jwt.StandardClaims
}
Click to show internal directories.
Click to hide internal directories.