cauthtest

package
v0.0.0-...-5538d7f Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package cauthtest provides utilities to test cauth

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewUserSession

func CreateNewUserSession(t *testing.T, router *cauth.Router) *cauth.SessionResult

CreateNewUserSession creates a new user using the given router and returns the session created by it.

func NewRouter

func NewRouter(t *testing.T) *cauth.Router

NewRouter instantiates and returns a router suited for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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