jwt

package
v0.17.14 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrollmentGenerator

type EnrollmentGenerator interface {
	Generate(string, string, jwt.MapClaims) (string, error)
}

type IdentityEnrollmentJwtGenerator

type IdentityEnrollmentJwtGenerator struct {
	// contains filtered or unexported fields
}

func NewJwtIdentityEnrollmentGenerator

func NewJwtIdentityEnrollmentGenerator(issuer string, sm jwt.SigningMethod, key interface{}) *IdentityEnrollmentJwtGenerator

func (*IdentityEnrollmentJwtGenerator) Generate

func (j *IdentityEnrollmentJwtGenerator) Generate(subj, jti string, claims jwt.MapClaims) (string, error)

Jump to

Keyboard shortcuts

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