Back to godoc.org

Package uaa_client

v1.13.0
Latest Go to latest

The latest major version is .

Published: Apr 16, 2018 | License: Apache-2.0 | Module: code.cloudfoundry.org/cf-networking-release

Index

type BadUaaResponse

type BadUaaResponse struct {
	StatusCode      int
	UaaResponseBody string
}

func (BadUaaResponse) Error

func (r BadUaaResponse) Error() string

type CheckTokenResponse

type CheckTokenResponse struct {
	Scope    []string `json:"scope"`
	UserID   string   `json:"user_id"`
	UserName string   `json:"user_name"`
}

type Client

type Client struct {
	BaseURL    string
	Name       string
	Secret     string
	HTTPClient httpClient
	Logger     lager.Logger
}

func (*Client) CheckToken

func (c *Client) CheckToken(token string) (CheckTokenResponse, error)

func (*Client) GetToken

func (c *Client) GetToken() (string, error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier