uaa_client

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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
	Logger     lager.Logger
}

func (*Client) CheckToken

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

func (*Client) GetToken added in v0.7.0

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