uaa

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

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

Go to latest
Published: Aug 8, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

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 NoopVerifier

type NoopVerifier struct{}

func (NoopVerifier) Verify

func (v NoopVerifier) Verify(logger lager.Logger, client *http.Client) (bool, error)

type Provider

type Provider struct {
	*oauth2.Config

	verifier.Verifier
}

func NewProvider

func NewProvider(
	uaaAuth *db.UAAAuth,
	redirectURL string,
) Provider

func (Provider) DisplayName

func (Provider) DisplayName() string

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 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