uaa

package
v0.0.0-...-7f11b89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

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 SpaceVerifier

type SpaceVerifier struct {
	// contains filtered or unexported fields
}

func NewSpaceVerifier

func NewSpaceVerifier(
	spaceGUIDs []string,
	cfAPIURL string,
) SpaceVerifier

func (SpaceVerifier) Verify

func (verifier SpaceVerifier) Verify(logger lager.Logger, httpClient *http.Client) (bool, error)

type UAAProvider

type UAAProvider struct {
	*oauth2.Config
	verifier.Verifier
	CFCACert string
}

func (UAAProvider) PreTokenClient

func (p UAAProvider) PreTokenClient() (*http.Client, error)

type UAATeamProvider

type UAATeamProvider struct{}

func (UAATeamProvider) ProviderConfigured

func (UAATeamProvider) ProviderConfigured(team db.Team) bool

func (UAATeamProvider) ProviderConstructor

func (UAATeamProvider) ProviderConstructor(
	team db.SavedTeam,
	redirectURL string,
) (provider.Provider, bool)

type UAAToken

type UAAToken struct {
	UserID string `json:"user_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL