Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct { // The attribute (header name) to look for auth data. Optional, default value: "authentication". Attribute string `mapstructure:"attribute"` // OIDC configures this receiver to use the given OIDC provider as the backend for the authentication mechanism. // Required. OIDC *OIDC `mapstructure:"oidc"` }
Authentication defines the auth settings for the receiver
type OIDC ¶
type OIDC struct { // IssuerURL is the base URL for the OIDC provider. // Required. IssuerURL string `mapstructure:"issuer_url"` // Audience of the token, used during the verification. // For example: "https://accounts.google.com" or "https://login.salesforce.com". // Required. Audience string `mapstructure:"audience"` // The local path for the issuer CA's TLS server cert. // Optional. IssuerCAPath string `mapstructure:"issuer_ca_path"` // The claim to use as the username, in case the token's 'sub' isn't the suitable source. // Optional. UsernameClaim string `mapstructure:"username_claim"` // The claim that holds the subject's group membership information. // Optional. GroupsClaim string `mapstructure:"groups_claim"` }
OIDC defines the OpenID Connect properties for this processor
Click to show internal directories.
Click to hide internal directories.