Documentation
¶
Index ¶
Constants ¶
View Source
const DisplayName = "UAA"
View Source
const ProviderName = "uaa"
Variables ¶
View Source
var Scopes = []string{"cloud_controller.read"}
Functions ¶
This section is empty.
Types ¶
type CFSpaceDevelopersResponse ¶
type CFSpaceDevelopersResponse struct {
NextUrl string `json:"next_url"`
UserInfos []CFUserInfo `json:"resources"`
}
type CFUserInfo ¶
type CFUserInfo struct {
Metadata struct {
GUID string `json:"guid"`
} `json:"metadata"`
}
type FileContentsFlag ¶
type FileContentsFlag string
func (*FileContentsFlag) UnmarshalFlag ¶
func (f *FileContentsFlag) UnmarshalFlag(value string) error
type SpaceVerifier ¶
type SpaceVerifier struct {
// contains filtered or unexported fields
}
func NewSpaceVerifier ¶
func NewSpaceVerifier( spaceGUIDs []string, cfAPIURL string, ) SpaceVerifier
type UAAAuthConfig ¶
type UAAAuthConfig struct {
ClientID string `json:"client_id" long:"client-id" description:"Application client ID for enabling UAA OAuth."`
ClientSecret string `json:"client_secret" long:"client-secret" description:"Application client secret for enabling UAA OAuth."`
AuthURL string `json:"auth_url,omitempty" long:"auth-url" description:"UAA AuthURL endpoint."`
TokenURL string `json:"token_url,omitempty" long:"token-url" description:"UAA TokenURL endpoint."`
CFSpaces []string `` /* 126-byte string literal not displayed */
CFURL string `json:"cf_url,omitempty" long:"cf-url" description:"CF API endpoint."`
CFCACert FileContentsFlag `json:"cf_ca_cert,omitempty" long:"cf-ca-cert" description:"Path to CF PEM-encoded CA certificate file."`
}
func (*UAAAuthConfig) AuthMethod ¶
func (*UAAAuthConfig) AuthMethod(oauthBaseURL string, teamName string) atc.AuthMethod
func (*UAAAuthConfig) IsConfigured ¶
func (auth *UAAAuthConfig) IsConfigured() bool
func (*UAAAuthConfig) Validate ¶
func (auth *UAAAuthConfig) Validate() error
type UAAProvider ¶
func (UAAProvider) PreTokenClient ¶
func (p UAAProvider) PreTokenClient() (*http.Client, error)
type UAATeamProvider ¶
type UAATeamProvider struct{}
func (UAATeamProvider) AddAuthGroup ¶
func (UAATeamProvider) AddAuthGroup(group *flags.Group) provider.AuthConfig
func (UAATeamProvider) ProviderConstructor ¶
func (UAATeamProvider) ProviderConstructor( config provider.AuthConfig, redirectURL string, ) (provider.Provider, bool)
func (UAATeamProvider) UnmarshalConfig ¶
func (UAATeamProvider) UnmarshalConfig(config *json.RawMessage) (provider.AuthConfig, error)
Click to show internal directories.
Click to hide internal directories.