mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
9892fd92b6
* refactor: drop unused code * refactor: drop unused code
23 lines
472 B
Go
23 lines
472 B
Go
package model
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/crypto"
|
|
es_models "github.com/zitadel/zitadel/internal/eventstore/v1/models"
|
|
)
|
|
|
|
type APIConfig struct {
|
|
es_models.ObjectRoot
|
|
AppID string
|
|
ClientID string
|
|
ClientSecret *crypto.CryptoValue
|
|
ClientSecretString string
|
|
AuthMethodType APIAuthMethodType
|
|
}
|
|
|
|
type APIAuthMethodType int32
|
|
|
|
const (
|
|
APIAuthMethodTypeBasic APIAuthMethodType = iota
|
|
APIAuthMethodTypePrivateKeyJWT
|
|
)
|