Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
type Mock struct {
Name string
}
Mock represents a fake identity provider
func NewMockProvider ¶
func NewMockProvider() *Mock
NewMockProvider returns a new fake identity provider
func (*Mock) Authenticate ¶
func (provider *Mock) Authenticate(bearerToken string) (*models.TokenReviewRequest, error)
Authenticate implements bearer token validation functionalities
Click to show internal directories.
Click to hide internal directories.