Versions in this module Expand all Collapse all v1 v1.4.3 Aug 16, 2023 v1.4.2 Aug 16, 2023 Changes in this version + const MoJWT + const MoSCRAMPBKDF2SHA256 + const MoSCRAMSHA256 + const MoSessionCookie + const MoX509 + const MtJWT + const MtSCRAMPBKDF2SHA256 + const MtSCRAMSHA256 + const MtSessionCookie + const MtX509 + type CookieGetter interface + Cookie func() (logonname string, cookie []byte) + type Decoder struct + func NewDecoder(d *encoding.Decoder) *Decoder + func (d *Decoder) NumPrm(expected int) error + func (d *Decoder) String() string + type JWT struct + func NewJWT(token string) *JWT + func (a *JWT) Cookie() (string, []byte) + func (a *JWT) FinalRepDecode(d *Decoder) error + func (a *JWT) InitRepDecode(d *Decoder) error + func (a *JWT) Order() byte + func (a *JWT) PrepareFinalReq(prms *Prms) error + func (a *JWT) PrepareInitReq(prms *Prms) error + func (a *JWT) String() string + func (a *JWT) Typ() string + type Method interface + FinalRepDecode func(d *Decoder) error + InitRepDecode func(d *Decoder) error + Order func() byte + PrepareFinalReq func(prms *Prms) error + PrepareInitReq func(prms *Prms) error + Typ func() string + type Methods map[string]Method + func (m Methods) Order() []Method + type Prms struct + func (p *Prms) AddCESU8String(s string) + func (p *Prms) Decode(dec *encoding.Decoder) error + func (p *Prms) Encode(enc *encoding.Encoder) error + func (p *Prms) Size() int + func (p *Prms) String() string + type SCRAMPBKDF2SHA256 struct + func NewSCRAMPBKDF2SHA256(username, password string) *SCRAMPBKDF2SHA256 + func (a *SCRAMPBKDF2SHA256) FinalRepDecode(d *Decoder) error + func (a *SCRAMPBKDF2SHA256) InitRepDecode(d *Decoder) error + func (a *SCRAMPBKDF2SHA256) Order() byte + func (a *SCRAMPBKDF2SHA256) PrepareFinalReq(prms *Prms) error + func (a *SCRAMPBKDF2SHA256) PrepareInitReq(prms *Prms) error + func (a *SCRAMPBKDF2SHA256) String() string + func (a *SCRAMPBKDF2SHA256) Typ() string + type SCRAMSHA256 struct + func NewSCRAMSHA256(username, password string) *SCRAMSHA256 + func (a *SCRAMSHA256) FinalRepDecode(d *Decoder) error + func (a *SCRAMSHA256) InitRepDecode(d *Decoder) error + func (a *SCRAMSHA256) Order() byte + func (a *SCRAMSHA256) PrepareFinalReq(prms *Prms) error + func (a *SCRAMSHA256) PrepareInitReq(prms *Prms) error + func (a *SCRAMSHA256) String() string + func (a *SCRAMSHA256) Typ() string + type SessionCookie struct + func NewSessionCookie(cookie []byte, logonname, clientID string) *SessionCookie + func (a *SessionCookie) FinalRepDecode(d *Decoder) error + func (a *SessionCookie) InitRepDecode(d *Decoder) error + func (a *SessionCookie) Order() byte + func (a *SessionCookie) PrepareFinalReq(prms *Prms) error + func (a *SessionCookie) PrepareInitReq(prms *Prms) error + func (a *SessionCookie) String() string + func (a *SessionCookie) Typ() string + type X509 struct + func NewX509(certKey *x509.CertKey) *X509 + func (a *X509) FinalRepDecode(d *Decoder) error + func (a *X509) InitRepDecode(d *Decoder) error + func (a *X509) Order() byte + func (a *X509) PrepareFinalReq(prms *Prms) error + func (a *X509) PrepareInitReq(prms *Prms) error + func (a *X509) String() string + func (a *X509) Typ() string