Documentation
¶
Index ¶
- type JWTWriter
- func (j *JWTWriter) IsHMACAlg() bool
- func (j *JWTWriter) SignWithKey(key interface{}) (string, error)
- func (j *JWTWriter) SignWithMethodAndKey(method jwt.SigningMethod, key interface{}) (string, error)
- func (j *JWTWriter) WithAlgNone() (string, error)
- func (j *JWTWriter) WithoutSignature() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTWriter ¶
func NewJWTWriter ¶
func (*JWTWriter) SignWithKey ¶
func (*JWTWriter) SignWithMethodAndKey ¶
func (j *JWTWriter) SignWithMethodAndKey(method jwt.SigningMethod, key interface{}) (string, error)
func (*JWTWriter) WithAlgNone ¶
func (*JWTWriter) WithoutSignature ¶
Click to show internal directories.
Click to hide internal directories.