Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignerImpl ¶ added in v0.34.0
type SignerImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(sm jwt.SigningMethod, key crypto.PrivateKey, keyId string) *SignerImpl
func (*SignerImpl) Generate ¶ added in v0.34.0
func (j *SignerImpl) Generate(claims jwt.Claims) (string, error)
func (*SignerImpl) KeyId ¶ added in v0.34.0
func (j *SignerImpl) KeyId() string
func (*SignerImpl) SigningMethod ¶ added in v0.34.0
func (j *SignerImpl) SigningMethod() jwt.SigningMethod
Click to show internal directories.
Click to hide internal directories.