Documentation ¶
Overview ¶
package mockedauth is intended for use with local development use cases. It tells auth-proxy to always set the same user identity when passing authentication information to the proxied service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(loggedInAs string) mockedAuth
New returns a new auth.Auth instance which always returns loggedInAs from calls to auth.LoggedInAs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.