Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullTokenValidator ¶
type NullTokenValidator struct{}
func (NullTokenValidator) CheckPublicToken ¶
func (_ NullTokenValidator) CheckPublicToken() error
func (NullTokenValidator) DecodeToken ¶
func (_ NullTokenValidator) DecodeToken(_ string, _ ...string) error
type TokenValidator ¶
type TokenValidator interface { DecodeToken(userToken string, desiredPermissions ...string) error CheckPublicToken() error }
func NewAccessTokenValidator ¶
func NewAccessTokenValidator(logger lager.Logger, uaaPublicKey string, uaaKeyFetcher UaaKeyFetcher) TokenValidator
type UaaKeyFetcher ¶
func NewUaaKeyFetcher ¶
func NewUaaKeyFetcher(logger lager.Logger, uaaGetKeyEndpoint string) UaaKeyFetcher
Click to show internal directories.
Click to hide internal directories.