a3sissuer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	tokenString string,
	keychain *token.JWKS,
	requiredIssuer string,
	audience jwt.ClaimStrings,
	validity time.Duration,
) (token.Issuer, error)

New retrurns new A3S issuer.

Types

type ErrComputeRestrictions

type ErrComputeRestrictions struct {
	Err error
}

An ErrComputeRestrictions represents a generic restrictions computation error.

func (ErrComputeRestrictions) Error

func (e ErrComputeRestrictions) Error() string

func (ErrComputeRestrictions) Unwrap

func (e ErrComputeRestrictions) Unwrap() error

Unwrap returns the wrapped error.

type ErrInputToken

type ErrInputToken struct {
	Err error
}

An ErrInputToken represents a generic input token error.

func (ErrInputToken) Error

func (e ErrInputToken) Error() string

func (ErrInputToken) Unwrap

func (e ErrInputToken) Unwrap() error

Unwrap returns the wrapped error.

Jump to

Keyboard shortcuts

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