Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Label ¶
type Label struct {
// Name is this label name
Name string `json:"name"`
// Value is this label value
Value string `json:"value"`
}
Label describes label for webapp
type Server ¶
type Server struct {
// Name is this server name
Name string `json:"id"`
// ClusterName is this server cluster name
ClusterName string `json:"siteId"`
// Hostname is this server hostname
Hostname string `json:"hostname"`
// Addrr is this server ip address
Addr string `json:"addr"`
// Labels is this server list of labels
Labels []Label `json:"tags"`
}
Server describes a server for webapp
type WebConfig ¶
type WebConfig struct {
// Auth contains Teleport auth. preferences
Auth WebConfigAuthSettings `json:"auth,omitempty"`
// ServerVersion is the version of Teleport that is running.
ServerVersion string `json:"serverVersion"`
}
WebConfig is web application configuration
type WebConfigAuthProvider ¶
type WebConfigAuthProvider struct {
// Name is this provider ID
Name string `json:"name,omitempty"`
// DisplayName is this provider display name
DisplayName string `json:"displayName,omitempty"`
}
WebConfigAuthProvider describes auth. provider
type WebConfigAuthSettings ¶
type WebConfigAuthSettings struct {
// SecondFactor is the type of second factor to use in authentication.
SecondFactor string `json:"second_factor,omitempty"`
// OIDC contains the OIDC Connectors
OIDC []WebConfigAuthProvider `json:"oidc,omitempty"`
// SAML contains the SAML Connectors
SAML []WebConfigAuthProvider `json:"saml,omitempty"`
}
WebConfigAuthSettings describes auth configuration
Click to show internal directories.
Click to hide internal directories.