jwt

package
v0.0.0-...-7525fa3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenService

func NewTokenService(keyPem []byte) (s token.ITokenService, err error)

Types

type Service

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

func (*Service) Marshal

func (s *Service) Marshal(v interface{}) (string, error)

func (*Service) Unmarshal

func (s *Service) Unmarshal(data string, v interface{}) (err error)

func (*Service) Validate

func (s *Service) Validate(data string) (err error)

Jump to

Keyboard shortcuts

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