Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2019 Changes in this version + type AnonymousAuth struct + AuthRole string + func (a *AnonymousAuth) AuthMethod() string + func (a *AnonymousAuth) Authenticate(sid wamp.ID, details wamp.Dict, client wamp.Peer) (*wamp.Welcome, error) + type Authenticator interface + AuthMethod func() string + Authenticate func(sid wamp.ID, details wamp.Dict, client wamp.Peer) (*wamp.Welcome, error) + type BypassKeyStore interface + AlreadyAuth func(authid string, details wamp.Dict) bool + OnWelcome func(authid string, welcome *wamp.Welcome, details wamp.Dict) error + type CRAuthenticator struct + func NewCRAuthenticator(keyStore KeyStore, timeout time.Duration) *CRAuthenticator + func (cr *CRAuthenticator) AuthMethod() string + func (cr *CRAuthenticator) Authenticate(sid wamp.ID, details wamp.Dict, client wamp.Peer) (*wamp.Welcome, error) + type KeyStore interface + AuthKey func(authid, authmethod string) ([]byte, error) + AuthRole func(authid string) (string, error) + PasswordInfo func(authid string) (salt string, keylen int, iterations int) + Provider func() string + type TicketAuthenticator struct + func NewTicketAuthenticator(keyStore KeyStore, timeout time.Duration) *TicketAuthenticator + func (t *TicketAuthenticator) AuthMethod() string + func (t *TicketAuthenticator) Authenticate(sid wamp.ID, details wamp.Dict, client wamp.Peer) (*wamp.Welcome, error)