feat: specify a custom "terms of service" link (#13068)

This commit is contained in:
Kayla Washburn-Love
2024-04-25 16:36:51 -06:00
committed by GitHub
parent 341114a020
commit 74f27719b8
19 changed files with 131 additions and 16 deletions

View File

@ -209,9 +209,10 @@ type CreateOrganizationRequest struct {
// AuthMethods contains authentication method information like whether they are enabled or not or custom text, etc.
type AuthMethods struct {
Password AuthMethod `json:"password"`
Github AuthMethod `json:"github"`
OIDC OIDCAuthMethod `json:"oidc"`
TermsOfServiceURL string `json:"terms_of_service_url,omitempty"`
Password AuthMethod `json:"password"`
Github AuthMethod `json:"github"`
OIDC OIDCAuthMethod `json:"oidc"`
}
type AuthMethod struct {