oidc

package
v0.0.0-...-275e0e3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoopClaims

type NoopClaims []byte

func (NoopClaims) Claims

func (c NoopClaims) Claims(v interface{}) error

func (NoopClaims) Subject

func (c NoopClaims) Subject() string

type NoopVerifier

type NoopVerifier struct {
	Err error
}

func (*NoopVerifier) Verify

func (v *NoopVerifier) Verify(ctx context.Context, rawtoken string) (Token, error)

type Token

type Token interface {
	Claims(interface{}) error
	Subject() string
}

type Verifier

type Verifier interface {
	Verify(context.Context, string) (Token, error)
}

func NewVerifier

func NewVerifier(ctx context.Context, issuer, clientID string) (Verifier, error)

Jump to

Keyboard shortcuts

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