authtest

package
v8.42.1698085480-SHA-e... Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package authtest provides helpers for testing functionality that uses the auth package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDCServer

type OIDCServer struct {
	*httptest.Server
	// contains filtered or unexported fields
}

func NewOIDCServer

func NewOIDCServer(idToken string) *OIDCServer

func (*OIDCServer) Client

func (s *OIDCServer) Client() *http.Client

func (*OIDCServer) NumberOfCalls

func (s *OIDCServer) NumberOfCalls() int64

func (*OIDCServer) WithContextClient

func (s *OIDCServer) WithContextClient(ctx context.Context) context.Context

Jump to

Keyboard shortcuts

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