Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTracedTokenParser ¶
func NewTracedTokenParser(tp trace.TracerProvider, parser api.TokenParser) api.TokenParser
Types ¶
type MultiIssuerParser ¶
type MultiIssuerParser struct {
// contains filtered or unexported fields
}
MultiIssuerParser supports multiple issuers
func NewMultiIssuerParser ¶
func NewMultiIssuerParser(ctx context.Context, issuers ...string) (*MultiIssuerParser, error)
type TokenParser ¶
type TokenParser struct {
// contains filtered or unexported fields
}
TokenParser parses tokens from a known issuer
func NewTokenParser ¶
func NewTokenParser(ctx context.Context, issuer string, opts ...TokenParserOpt) (*TokenParser, error)
type TokenParserOpt ¶
Click to show internal directories.
Click to hide internal directories.