Documentation ¶
Index ¶
- Variables
- type Client
- type NoOpUaaClient
- func (c *NoOpUaaClient) DecodeToken(uaaToken string, desiredPermissions ...string) error
- func (c *NoOpUaaClient) FetchIssuer() (string, error)
- func (c *NoOpUaaClient) FetchKey() (string, error)
- func (c *NoOpUaaClient) FetchToken(useCachedToken bool) (*schema.Token, error)
- func (c *NoOpUaaClient) RegisterOauthClient(oauthClient *schema.OauthClient) (*schema.OauthClient, error)
- type OpenIDConfig
- type UaaClient
- func (u *UaaClient) DecodeToken(uaaToken string, desiredPermissions ...string) error
- func (u *UaaClient) FetchIssuer() (string, error)
- func (u *UaaClient) FetchKey() (string, error)
- func (u *UaaClient) FetchToken(forceUpdate bool) (*schema.Token, error)
- func (u *UaaClient) RegisterOauthClient(oauthClient *schema.OauthClient) (*schema.OauthClient, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClientAlreadyExists = errors.New("Client already exists")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { FetchToken(forceUpdate bool) (*schema.Token, error) FetchKey() (string, error) DecodeToken(uaaToken string, desiredPermissions ...string) error RegisterOauthClient(*schema.OauthClient) (*schema.OauthClient, error) FetchIssuer() (string, error) }
func NewNoOpUaaClient ¶
func NewNoOpUaaClient() Client
type NoOpUaaClient ¶
type NoOpUaaClient struct { }
func (*NoOpUaaClient) DecodeToken ¶
func (c *NoOpUaaClient) DecodeToken(uaaToken string, desiredPermissions ...string) error
func (*NoOpUaaClient) FetchIssuer ¶
func (c *NoOpUaaClient) FetchIssuer() (string, error)
func (*NoOpUaaClient) FetchKey ¶
func (c *NoOpUaaClient) FetchKey() (string, error)
func (*NoOpUaaClient) FetchToken ¶
func (c *NoOpUaaClient) FetchToken(useCachedToken bool) (*schema.Token, error)
func (*NoOpUaaClient) RegisterOauthClient ¶
func (c *NoOpUaaClient) RegisterOauthClient(oauthClient *schema.OauthClient) (*schema.OauthClient, error)
type OpenIDConfig ¶
type OpenIDConfig struct {
Issuer string `json:"issuer"`
}
type UaaClient ¶
type UaaClient struct {
// contains filtered or unexported fields
}
func (*UaaClient) DecodeToken ¶
func (*UaaClient) FetchIssuer ¶
func (*UaaClient) FetchToken ¶
func (*UaaClient) RegisterOauthClient ¶
func (u *UaaClient) RegisterOauthClient(oauthClient *schema.OauthClient) (*schema.OauthClient, error)
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.