oidctestsupport

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthServer

type FakeAuthServer struct {
	Issuer string

	Server *httptest.Server
	// contains filtered or unexported fields
}

func NewFakeAuthServer

func NewFakeAuthServer(clientID string, claims map[string]interface{}) *FakeAuthServer

func (*FakeAuthServer) BuildJWT

func (as *FakeAuthServer) BuildJWT() (string, error)

func (*FakeAuthServer) Jwks

func (as *FakeAuthServer) Jwks() []byte

type SigningKey

type SigningKey struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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