uaa_client

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
	WarrantClient warrantClient
	Logger        lager.Logger
}

func (*Client) CheckToken

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

func (*Client) GetToken

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

Jump to

Keyboard shortcuts

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