auth

package
v0.0.0-...-85617d8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UAAClient

type UAAClient struct {
	*uaaClient.API
}

UAAClient wraps over the official UAA client implementation.

func NewUAAClient

func NewUAAClient(endpoint, clientName, clientSecret string) *UAAClient

NewUAAClient creates a new UAA client.

func (*UAAClient) Fetch

func (u *UAAClient) Fetch() (string, error)

Fetch implements the TokenFetcher interface, fetching tokens from UAA. This stands as an anti-corruption layer over the actual FetchToken call.

Jump to

Keyboard shortcuts

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