Documentation ¶
Overview ¶
Package jwt implements JWT (JSON Web Token).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error is a structure to hold the error and URI for the description.
type JWT ¶
type JWT struct {
// contains filtered or unexported fields
}
JWT is the structure to hold the context of the JWT issuer and signer.
func (JWT) Authenticate ¶
Authenticate returns the authenticated claim of the given JWT.
type Time ¶
Time is a type to represent a time.
func (Time) MarshalJSON ¶
MarshalJSON returns the JSON encoding of the value.
This implements an interface used in encoding/encoding.
json - The Go Programming Language Example (CustomMarshalJSON) https://golang.org/pkg/encoding/json/#example__customMarshalJSON
func (*Time) UnmarshalJSON ¶
UnmarshalJSON sets *marshallable to unmarshalled value from JSON.
This implements an interface used in encoding/encoding.
json - The Go Programming Language Example (CustomMarshalJSON) https://golang.org/pkg/encoding/json/#example__customMarshalJSON