mock

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDCIdentityServer

type OIDCIdentityServer struct {
	Name string

	ServerSecurePort int
	// contains filtered or unexported fields
}

func NewIdentityServer

func NewIdentityServer(name string, numberOfPrivateKeys int) (*OIDCIdentityServer, error)

func (*OIDCIdentityServer) CA

func (idp *OIDCIdentityServer) CA() []byte

func (*OIDCIdentityServer) PublicKeySetAsBytes

func (idp *OIDCIdentityServer) PublicKeySetAsBytes() ([]byte, error)

func (*OIDCIdentityServer) Sign

func (idp *OIDCIdentityServer) Sign(idx int, claims interface{}) (string, error)

func (*OIDCIdentityServer) Start

func (idp *OIDCIdentityServer) Start() error

func (*OIDCIdentityServer) StartWithMaxTLSVersion

func (idp *OIDCIdentityServer) StartWithMaxTLSVersion(version uint16) error

func (*OIDCIdentityServer) Stop

func (idp *OIDCIdentityServer) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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