Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.