oidc

package
v0.1.33 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JWKSURI = "/openid/v1/jwks"
)

Variables

This section is empty.

Functions

func GenerateConfigurationDocument

func GenerateConfigurationDocument(params ODICGeneratorParams) (io.ReadSeeker, error)

func GenerateJWKSDocument

func GenerateJWKSDocument(params ODICGeneratorParams) (io.ReadSeeker, error)

Types

type KeyResponse

type KeyResponse struct {
	Keys []jose.JSONWebKey `json:"keys"`
}

type ODICGeneratorParams

type ODICGeneratorParams struct {
	IssuerURL string
	PubKey    []byte
}

type OIDCDocumentGeneratorFunc

type OIDCDocumentGeneratorFunc func(params ODICGeneratorParams) (io.ReadSeeker, error)

Jump to

Keyboard shortcuts

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