useraccountstoretestconfigs

package
v0.0.0-...-cba8fe1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package useraccountstoretestconfigs provides utility functions for getting user accounts using the storage package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestPrincipal

func GetTestPrincipal(store *storage.Store, userName string) (*authentication.ApplicationPrincipal, error)

GetTestPrincipal either inserts a new user account record into the database, or returns the record already in the database the common name of the inserted account is the username for simplicity

Types

This section is empty.

Jump to

Keyboard shortcuts

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