jwt

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Iss               string            `json:"iss"`
	Algorithm         string            `json:"algorithm"`
	Secret            string            `json:"secret"`
	PublicKey         string            `json:"public_key"`
	User              string            `json:"user"`
	UserPath          string            `json:"user_path"`
	ClaimsToVerify    []string          `json:"claims_to_verify"`
	Label             map[string]string `json:"label"`
	SignatureIsBase64 bool              `json:"signature_is_base64"`
}

func (*Config) Detail

func (*Config) ID

func (cfg *Config) ID() string

func (*Config) Valid

func (cfg *Config) Valid() ([]byte, error)

Jump to

Keyboard shortcuts

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