openidtest

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDToken = "" //nolint:gosec
	/* 471-byte string literal not displayed */
	IDTokenHeader  = `{"alg":"RS256","typ":"JWT"}` //nolint:gosec
	IDTokenPayload = `{"sub":"1234567890","name":"John Doe","admin":true,"iat":1516239022}`
)

Variables

View Source
var ErrInvalidPublicKey = errors.New("openidtest: invalid public key")

Functions

func StartOpenIDProvider

func StartOpenIDProvider() (
	addr net.Addr,
	metadata *discovery.ProviderMetadata,
	jwks *jwk.JWKSet,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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