mockedauth

package
v0.0.0-...-8460221 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL