mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 11:37:01 -07:00
13 lines
375 B
Go
13 lines
375 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"`
|
|
}
|
|
|
|
func hasRequiredParams(config *Config) bool {
|
|
return config.Client.Id != "" && config.Client.Secret != ""
|
|
}
|