add oidc sqlite
This commit is contained in:
@@ -6,8 +6,43 @@ package sqlc
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"time"
|
||||
)
|
||||
|
||||
type AuthorizationCode struct {
|
||||
ID int64
|
||||
Code string
|
||||
CodeChallenge string
|
||||
CodeChallengeMethod string
|
||||
UserID string
|
||||
ClientID string
|
||||
Scope sql.NullString
|
||||
RedirectUri string
|
||||
CreatedAt sql.NullTime
|
||||
ExpiresAt time.Time
|
||||
UsedAt sql.NullTime
|
||||
}
|
||||
|
||||
type Client struct {
|
||||
ID string
|
||||
Name string
|
||||
Owner string
|
||||
CreatedAt sql.NullTime
|
||||
}
|
||||
|
||||
type ClientApproval struct {
|
||||
ID int64
|
||||
UserID string
|
||||
ClientID string
|
||||
}
|
||||
|
||||
type ClientRedirect struct {
|
||||
ID int64
|
||||
Uri string
|
||||
ClientID string
|
||||
CreatedAt sql.NullTime
|
||||
}
|
||||
|
||||
type Customer struct {
|
||||
ID string
|
||||
MaxNkodeLen int64
|
||||
@@ -27,6 +62,17 @@ type SvgIcon struct {
|
||||
Svg string
|
||||
}
|
||||
|
||||
type Token struct {
|
||||
ID int64
|
||||
TokenType string
|
||||
TokenValue string
|
||||
UserID string
|
||||
ClientID string
|
||||
Scope sql.NullString
|
||||
CreatedAt sql.NullTime
|
||||
ExpiresAt time.Time
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID string
|
||||
Email string
|
||||
|
||||
Reference in New Issue
Block a user