initial commit

This commit is contained in:
m.zare
2026-04-10 18:25:21 +03:30
commit 77ca6c34a3
263 changed files with 34470 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package auth
import (
"encoding/json"
"time"
"github.com/google/uuid"
"base/internal/pkg/oauth"
)
type Account struct {
ID uuid.UUID
UserID uuid.UUID
Provider oauth.Provider
Password *string
AccessToken *string
RefreshToken *string
AccessTokenExpiry *time.Time
RefreshTokenExpiry *time.Time
Scope []string
Meta json.RawMessage
CreatedAt time.Time
UpdatedAt time.Time
}