Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlRequest ¶
ControlRequest contains VNC server data
type Decoder ¶
type Decoder interface {
Decode(string) (*ControlRequest, error)
}
Decoder decodes a token into a ControlRequest
type Encoder ¶
type Encoder interface {
EncodeWithExpiry(*ControlRequest, time.Time) string
}
Encoder encodes a ControlRequest into a token
func NewJWEEncoder ¶
type Parser ¶
type Parser interface { Decoder ExtractControlRequest(r *http.Request) (*ControlRequest, error) }
Parser interface extracts ControlRequest token from a http.Request
func NewJWEParser ¶
NewJWEParser returns a new JWE Parser instance
Click to show internal directories.
Click to hide internal directories.