Add Prompted field.

This commit is contained in:
Yang Luo
2021-06-18 02:02:43 +08:00
parent ce60a76920
commit 32afafd56c
4 changed files with 34 additions and 0 deletions

View File

@ -19,6 +19,7 @@ type ProviderItem struct {
CanSignUp bool `json:"canSignUp"`
CanSignIn bool `json:"canSignIn"`
CanUnlink bool `json:"canUnlink"`
Prompted bool `json:"prompted"`
AlertType string `json:"alertType"`
Provider *Provider `json:"provider"`
}

View File

@ -18,5 +18,6 @@ type SignupItem struct {
Name string `json:"name"`
Visible bool `json:"visible"`
Required bool `json:"required"`
Prompted bool `json:"prompted"`
Rule string `json:"rule"`
}