authentication

package
v0.0.0-...-c259db3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2015 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccessToken

func NewAccessToken(uaaPublicKey string) accessToken

Types

type NullToken

type NullToken struct{}

func (NullToken) CheckPublicToken

func (_ NullToken) CheckPublicToken() error

func (NullToken) DecodeToken

func (_ NullToken) DecodeToken(_ string, _ ...string) error

type Token

type Token interface {
	DecodeToken(userToken string, desiredPermissions ...string) error
	CheckPublicToken() error
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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