mirror of https://github.com/authelia/authelia.git
13 lines
688 B
Go
13 lines
688 B
Go
package schema
|
|
|
|
import (
|
|
"net/url"
|
|
)
|
|
|
|
// PrivacyPolicy is the privacy policy configuration.
|
|
type PrivacyPolicy struct {
|
|
Enabled bool `koanf:"enabled" json:"enabled" jsonschema:"default=false,title=Enabled" jsonschema_description:"Enables the Privacy Policy functionality."`
|
|
RequireUserAcceptance bool `koanf:"require_user_acceptance" json:"require_user_acceptance" jsonschema:"default=false,title=Require User Acceptance" jsonschema_description:"Enables the requirement for users to accept the policy."`
|
|
PolicyURL *url.URL `koanf:"policy_url" json:"policy_url" jsonschema:"title=Policy URL" jsonschema_description:"The URL of the privacy policy."`
|
|
}
|