Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { client.Resource Provider string `json:"provider"` Enabled bool `json:"enabled"` AccessMode string `json:"accessMode"` AllowedIdentities []client.Identity `json:"allowedIdentities"` GithubConfig GithubConfig `json:"githubConfig"` ShibbolethConfig ShibbolethConfig `json:"shibbolethConfig"` LdapConfig LdapConfig `json:"ldapConfig"` }
AuthConfig structure contains the AuthConfig definition
type AuthServiceError ¶
type AuthServiceError struct { client.Resource Status string `json:"status"` Message string `json:"message"` }
AuthServiceError structure contains the error resource definition
type GithubConfig ¶
type GithubConfig struct { client.Resource Hostname string `json:"hostname"` Scheme string `json:"scheme"` ClientID string `json:"clientId"` ClientSecret string `json:"clientSecret"` }
GithubConfig stores the github config read from JSON file
type LdapConfig ¶ added in v0.4.3
type LdapConfig struct { client.Resource Server string `json:"server"` Port int64 `json:"port"` UserDisabledBitMask int64 `json:"userDisabledBitMask"` LoginDomain string `json:"loginDomain"` Domain string `json:"domain"` GroupSearchDomain string `json:"groupSearchDomain"` ServiceAccountUsername string `json:"serviceAccountUsername"` ServiceAccountPassword string `json:"serviceAccountPassword"` TLS bool `json:"tls"` UserSearchField string `json:"userSearchField"` UserLoginField string `json:"userLoginField"` UserObjectClass string `json:"userObjectClass"` UserNameField string `json:"userNameField"` UserEnabledAttribute string `json:"userEnabledAttribute"` GroupSearchField string `json:"groupSearchField"` GroupObjectClass string `json:"groupObjectClass"` GroupNameField string `json:"groupNameField"` GroupDNField string `json:"groupDNField"` GroupMemberUserAttribute string `json:"groupMemberUserAttribute"` GroupMemberMappingAttribute string `json:"groupMemberMappingAttribute"` ConnectionTimeout int64 `json:"connectionTimeout"` }
LdapConfig stores the AD config read from JSON file
type ShibbolethConfig ¶ added in v0.1.0
type ShibbolethConfig struct { client.Resource IDPMetadataURL string `json:"idpMetadataUrl"` IDPMetadataContent string `json:"idpMetadataContent"` SPSelfSignedCert string `json:"spCert"` SPSelfSignedKey string `json:"spKey"` GroupsField string `json:"groupsField"` DisplayNameField string `json:"displayNameField"` UserNameField string `json:"userNameField"` UIDField string `json:"uidField"` IDPMetadataFilePath string SPSelfSignedCertFilePath string SPSelfSignedKeyFilePath string RancherAPIHost string SamlServiceProvider *samlsp.Middleware }
ShibbolethConfig stores the shibboleth config
type TestAuthConfig ¶ added in v0.4.3
type TestAuthConfig struct { AuthConfig AuthConfig `json:"authConfig"` Code string `json:"code"` }
type Token ¶
type Token struct { client.Resource Type string `json:"tokenType"` ExternalAccountID string `json:"accountID"` IdentityList []client.Identity `json:"identities"` AccessToken string JwtToken string `json:"jwt"` OriginalLogin string `json:"originalLogin"` }
Token structure defines all properties that can be present in a token
Click to show internal directories.
Click to hide internal directories.