Added FindByURLAndServiceForRole func to URLAccessRepository
This commit is contained in:
@@ -48,9 +48,6 @@ type JWT struct {
|
||||
}
|
||||
|
||||
func (s *JWT) CreateAccessToken(id string) (string, error) {
|
||||
fmt.Println(time.Now().Add(s.accessTokenExpireTime).Unix())
|
||||
fmt.Println(s.accessTokenExpireTime)
|
||||
|
||||
claims := &jwt.StandardClaims{
|
||||
Subject: id,
|
||||
IssuedAt: time.Now().Unix(),
|
||||
|
||||
Reference in New Issue
Block a user