mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
15 lines
459 B
Go
15 lines
459 B
Go
package opaal
|
|
|
|
type ActionUrls struct {
|
|
Identities string `yaml:"identities"`
|
|
TrustedIssuers string `yaml:"trusted-issuers"`
|
|
AccessToken string `yaml:"access-token"`
|
|
ServerConfig string `yaml:"server-config"`
|
|
JwksUri string `yaml:"jwks_uri"`
|
|
Login string `yaml:"login"`
|
|
LoginFlowId string `yaml:"login-flow-id"`
|
|
}
|
|
|
|
func HasRequiredParams(config *Config) bool {
|
|
return config.Client.Id != "" && config.Client.Secret != ""
|
|
}
|