16 lines
262 B
Go
16 lines
262 B
Go
package model
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type BackendOIDCConfig struct {
|
|
Issuer string
|
|
ClientID string
|
|
ClientSecret string
|
|
RedirectURI string
|
|
}
|
|
|
|
type Backend struct {
|
|
ID uuid.UUID
|
|
Name string
|
|
OIDCConfig BackendOIDCConfig
|
|
}
|