mock

package
v2.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t *testing.T, requests []ExpectedRequest) *httptest.Server

New returns an instance of the mock OneLogin indetity provider.

Types

type ExpectedRequest

type ExpectedRequest struct {
}

ExpectedRequest represents a request that the mock identity provider expects and its predefined response.

Jump to

Keyboard shortcuts

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