Documentation ¶
Index ¶
- type UAA
- func (s *UAA) Close()
- func (s *UAA) PrivateKey() string
- func (s *UAA) PublicKey() string
- func (s *UAA) Reset()
- func (s *UAA) ResetDefaultScopes()
- func (s *UAA) SetDefaultScopes(scopes []string)
- func (s *UAA) Start()
- func (s *UAA) URL() string
- func (s *UAA) UserTokenFor(userID string, scopes, audiences []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UAA ¶
type UAA struct {
// contains filtered or unexported fields
}
UAA is a fake implementation of the UAA HTTP service.
func (*UAA) Close ¶
func (s *UAA) Close()
Close will cause the HTTP server to stop serving requests and close its connection.
func (*UAA) PrivateKey ¶
func (*UAA) Reset ¶
func (s *UAA) Reset()
Reset will clear all internal resource state within the server. This means that all users, clients, and groups will be deleted.
func (*UAA) ResetDefaultScopes ¶
func (s *UAA) ResetDefaultScopes()
ResetDefaultScopes resets the default scopes back to their original values.
func (*UAA) SetDefaultScopes ¶
SetDefaultScopes allows the default scopes applied to a user to be configured.
Click to show internal directories.
Click to hide internal directories.