test

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOIDCClient

type MockOIDCClient struct {
	OnClose error

	STSClient MockSTSClient
}

func (MockOIDCClient) Close

func (m MockOIDCClient) Close() error

func (MockOIDCClient) STS

type MockSTSClient

type MockSTSClient struct {
	OnExchange []STSOnExchange
}

func (MockSTSClient) Exchange

type STSOnExchange

type STSOnExchange struct {
	Given     *oidc.ExchangeRequest
	Exchanged *oidc.RawToken
	Error     error
}

Jump to

Keyboard shortcuts

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