uaa_client

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUaaClient

func NewUaaClient(address, id, secret string) uaaClient

Types

type AuthData

type AuthData struct {
	Scope []string `json:"scope"`
}

func (*AuthData) HasPermission

func (data *AuthData) HasPermission(perm string) bool

type UaaClient

type UaaClient interface {
	GetAuthData(token string) (*AuthData, error)
}

Jump to

Keyboard shortcuts

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