Documentation ¶
Index ¶
- Variables
- type AuthenticationRepository
- type LoginResource
- type TokenRefresher
- type UAAAuthenticationRepository
- func (uaa UAAAuthenticationRepository) Authenticate(credentials map[string]string) (apiErr error)
- func (uaa UAAAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL() (prompts map[string]configuration.AuthPrompt, apiErr error)
- func (uaa UAAAuthenticationRepository) RefreshAuthToken() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var T goi18n.TranslateFunc
Functions ¶
This section is empty.
Types ¶
type AuthenticationRepository ¶
type AuthenticationRepository interface { RefreshAuthToken() (updatedToken string, apiErr error) Authenticate(credentials map[string]string) (apiErr error) GetLoginPromptsAndSaveUAAServerURL() (map[string]configuration.AuthPrompt, error) }
type LoginResource ¶
type TokenRefresher ¶
type UAAAuthenticationRepository ¶
type UAAAuthenticationRepository struct {
// contains filtered or unexported fields
}
func NewUAAAuthenticationRepository ¶
func NewUAAAuthenticationRepository(gateway net.Gateway, config configuration.ReadWriter) (uaa UAAAuthenticationRepository)
func (UAAAuthenticationRepository) Authenticate ¶
func (uaa UAAAuthenticationRepository) Authenticate(credentials map[string]string) (apiErr error)
func (UAAAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL ¶
func (uaa UAAAuthenticationRepository) GetLoginPromptsAndSaveUAAServerURL() (prompts map[string]configuration.AuthPrompt, apiErr error)
func (UAAAuthenticationRepository) RefreshAuthToken ¶
func (uaa UAAAuthenticationRepository) RefreshAuthToken() (string, error)
Click to show internal directories.
Click to hide internal directories.