jwt

package
v2.0.0-...-571da87 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtractorBuilder

type ExtractorBuilder interface {
	SetDecoder(dec JSONDecoder) ExtractorBuilder
	SetContextExtractor(extractor jwt.ContextExtractor) ExtractorBuilder
	SetBase64Decoder(dec *base64.Encoding) ExtractorBuilder
	Build() jwt.TokenExtractor
}

ExtractorBuilder defines what can be configured when building JWT Token Extractor

func Builder

func Builder() ExtractorBuilder

Builder creates a fresh instance of Extractor Builder

type JSONDecoder

type JSONDecoder func(data []byte, v interface{}) error

JSONDecoder json.Unmarshaler

Jump to

Keyboard shortcuts

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