Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OIDC ¶
type OIDC struct {
ID int `db:"id" json:"id"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
Name string `db:"name" json:"name"`
Enabled bool `db:"enabled" json:"enabled"`
ClientID string `db:"client_id" json:"client_id,omitempty"`
ClientSecret string `db:"client_secret" json:"client_secret,omitempty"`
Provider string `db:"provider" json:"provider"`
ProviderURL string `db:"provider_url" json:"provider_url"`
LogoURL string `db:"logo_url" json:"logo_url"`
RedirectURI string `db:"-" json:"redirect_uri"`
}
OIDC represents an OpenID Connect configuration.
func (*OIDC) ClearSecrets ¶
func (oidc *OIDC) ClearSecrets()
ClearSecrets masks sensitive fields with dummy values for API responses.
func (*OIDC) SetProviderLogo ¶
func (oidc *OIDC) SetProviderLogo()
SetProviderLogo sets the logo URL if not already set. Falls back to built-in provider logos when no custom logo is provided.
Click to show internal directories.
Click to hide internal directories.