uaa

package
v0.0.0-...-ca399ba Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUaaAuth

func NewUaaAuth(uaaPublicKey, symmetricVerificationKey, scope, tokenURL string, devMode bool, logger lager.Logger) (authentication.Authentication, error)

NewUaaAuth creates a new Auth with a token created from the data passed in and returns it or an error if it failes

Types

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

Auth is the structure used for storing authentication related items

func (*Auth) IsAuthenticated

func (auth *Auth) IsAuthenticated(authHeader string) error

IsAuthenticated checks if the auth header is authenticated in this scope

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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