Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AppKey string `json:"app_key"`
AppSecret string `json:"app_secret"`
CodeHeader string `json:"code_header,omitempty"`
CodeQuery string `json:"code_query,omitempty"`
UserInfoURL string `json:"userinfo_url,omitempty"`
AccessTokenURL string `json:"access_token_url,omitempty"`
SetUserInfoHeader *bool `json:"set_userinfo_header,omitempty"`
RedirectURI string `json:"redirect_uri"`
Timeout int `json:"timeout,omitempty"`
SSLVerify *bool `json:"ssl_verify,omitempty"`
Secret string `json:"secret"`
SecretFallbacks []string `json:"secret_fallbacks,omitempty"`
CookieExpiresIn int `json:"cookie_expires_in,omitempty"`
}
type Plugin ¶
type Plugin struct {
base.BasePlugin
// contains filtered or unexported fields
}
func (*Plugin) MaterializeScopedSecrets ¶
func (p *Plugin) MaterializeScopedSecrets( ctx context.Context, access base.ScopedSecretAccess, ) error
MaterializeScopedSecrets admits the exact DingTalk OAuth and session fields for one immutable generation. Public config is replaced only after every current and fallback value has resolved and passed its semantic contract.