Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeProvider ¶
type FakeProvider struct {
Name string
}
FakeProvider represents a fake identity provider
func NewFakeProvider ¶
func NewFakeProvider() *FakeProvider
NewFakeProvider returns a new fake identity provider
func (*FakeProvider) Authenticate ¶
func (provider *FakeProvider) Authenticate(bearerToken string) (*models.TokenReviewRequest, error)
Authenticate implements bearer token validation functionalities
func (*FakeProvider) Login ¶
func (provider *FakeProvider) Login(username, password string) (*models.TokenReviewRequest, error)
Login implements login functionality for user foo and password bar
Click to show internal directories.
Click to hide internal directories.