🚚 Rename package

This commit is contained in:
2024-04-13 13:48:19 +08:00
parent d1f54099c4
commit e5d53ab77b
43 changed files with 94 additions and 94 deletions

View File

@ -7,8 +7,8 @@ import (
"github.com/google/uuid"
"git.solsynth.dev/hydrogen/identity/pkg/database"
"git.solsynth.dev/hydrogen/identity/pkg/models"
"git.solsynth.dev/hydrogen/passport/pkg/database"
"git.solsynth.dev/hydrogen/passport/pkg/models"
"github.com/samber/lo"
"gorm.io/datatypes"
)

View File

@ -3,7 +3,7 @@ package security
import (
"fmt"
"git.solsynth.dev/hydrogen/identity/pkg/models"
"git.solsynth.dev/hydrogen/passport/pkg/models"
"github.com/samber/lo"
)

View File

@ -9,8 +9,8 @@ import (
"github.com/spf13/viper"
)
var CookieAccessKey = "identity_auth_key"
var CookieRefreshKey = "identity_refresh_key"
var CookieAccessKey = "passport_auth_key"
var CookieRefreshKey = "passport_refresh_key"
type PayloadClaims struct {
jwt.RegisteredClaims

View File

@ -7,8 +7,8 @@ import (
"github.com/spf13/viper"
"git.solsynth.dev/hydrogen/identity/pkg/database"
"git.solsynth.dev/hydrogen/identity/pkg/models"
"git.solsynth.dev/hydrogen/passport/pkg/database"
"git.solsynth.dev/hydrogen/passport/pkg/models"
"github.com/google/uuid"
"github.com/samber/lo"
)