Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeAuthEndpointMiddleware ¶
func NewFakeAuthEndpointMiddleware() endpoint.Middleware
Can be used for development/testing. Simply provide a non-empty user id and any password in the http authorization header using the basic authentication format (i.e. "Basic base64Encode(userId:password)"). Make sure to use the "PopulateRequestContext" RequestFunc from the go-kit/kit/transport/http package as a "ServerBefore" option when creating http handlers.
func NewFirebaseAuthEndpointMiddleware ¶
func NewFirebaseAuthEndpointMiddleware(authClient *fbauth.Client, requireVerifiedEmail bool) endpoint.Middleware
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.