hs384service

package
v0.0.0-...-7cbedea Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New SignerChecker using HS256 alg

Types

type HS384Service

type HS384Service struct {
	Key []byte
}

HS384Service used to sing and check jwt tokens

func (*HS384Service) Check

func (service *HS384Service) Check(payload string) ([]jwtservices.Tuple, error)

Check using HS256

func (*HS384Service) Sign

func (service *HS384Service) Sign(tuples ...jwtservices.Tuple) (string, error)

Sign using HS256

Jump to

Keyboard shortcuts

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