auth+cli
This commit is contained in:
parent
314cbd37c7
commit
07522043b4
16 changed files with 870 additions and 38 deletions
|
|
@ -14,6 +14,8 @@ type Config struct {
|
|||
DemoEmail string
|
||||
AuthHeaderUser string
|
||||
AuthHeaderEmail string
|
||||
OIDCIssuerURL string
|
||||
OIDCAudience string
|
||||
ForgejoBaseURL string
|
||||
ForgejoToken string
|
||||
ForgejoGitUsername string
|
||||
|
|
@ -83,3 +85,9 @@ type Workspace struct {
|
|||
Name string `json:"name"`
|
||||
UnixUser string `json:"unix_user"`
|
||||
}
|
||||
|
||||
type UserWebhookToken struct {
|
||||
UserID string `json:"-"`
|
||||
Token string `json:"token"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue