Documentation ¶
Index ¶
- type Failure
- type TokenLoader
- type TokenValidator
- type User
- type UserFinder
- type ZonedUAAClient
- func (z ZonedUAAClient) AllUsers(token string) ([]User, error)
- func (z ZonedUAAClient) GetClientToken(host string) (string, error)
- func (z ZonedUAAClient) GetTokenKey(uaaHost string) (string, error)
- func (z ZonedUAAClient) UsersEmailsByIDs(token string, ids ...string) ([]User, error)
- func (z ZonedUAAClient) UsersGUIDsByScope(token string, scope string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenLoader ¶
type TokenLoader struct {
// contains filtered or unexported fields
}
func NewTokenLoader ¶
func NewTokenLoader(uaa uaaClient) *TokenLoader
type TokenValidator ¶
type TokenValidator struct {
// contains filtered or unexported fields
}
func NewTokenValidator ¶
func NewTokenValidator(logger lager.Logger, keysFetcher keysFetcher) *TokenValidator
func (*TokenValidator) LoadSigningKeys ¶
func (v *TokenValidator) LoadSigningKeys() error
func (*TokenValidator) Parse ¶
func (v *TokenValidator) Parse(rawToken string) (*jwt.Token, error)
type UserFinder ¶
func NewUserFinder ¶
func NewUserFinder(id, secret string, users userGetter, clients tokenGetter) UserFinder
type ZonedUAAClient ¶
type ZonedUAAClient struct {
// contains filtered or unexported fields
}
func NewZonedUAAClient ¶
func NewZonedUAAClient(clientID, clientSecret string, verifySSL bool, validator *TokenValidator) (client ZonedUAAClient)
func (ZonedUAAClient) GetClientToken ¶
func (z ZonedUAAClient) GetClientToken(host string) (string, error)
func (ZonedUAAClient) GetTokenKey ¶
func (z ZonedUAAClient) GetTokenKey(uaaHost string) (string, error)
func (ZonedUAAClient) UsersEmailsByIDs ¶
func (z ZonedUAAClient) UsersEmailsByIDs(token string, ids ...string) ([]User, error)
func (ZonedUAAClient) UsersGUIDsByScope ¶
func (z ZonedUAAClient) UsersGUIDsByScope(token string, scope string) ([]string, error)
Click to show internal directories.
Click to hide internal directories.