uaa_client

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 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
	Logger     lager.Logger
}

func (*Client) CheckToken

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

func (*Client) GetToken

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

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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