Documentation ¶
Index ¶
- type AnonymousAuth
- type AuthRoles
- type DynamicAuthorizer
- type DynamicTicketAuth
- type FeatureAuthorizer
- func (this *FeatureAuthorizer) Authorize(sess *wamp.Session, msg wamp.Message) (bool, error)
- func (this *FeatureAuthorizer) Initialize()
- func (this *FeatureAuthorizer) Update(_ context.Context, args wamp.List, _, _ wamp.Dict) *client.InvokeResult
- func (this *FeatureAuthorizer) UpdateMapping() error
- func (this *FeatureAuthorizer) UpdateMatrix() error
- type FeatureMapping
- type FeatureMatrix
- type ResumeAuthenticator
- type SharedSecretAuthenticator
- type TLSAuth
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymousAuth ¶
type AnonymousAuth struct {
AuthRole string
}
func (AnonymousAuth) AuthMethod ¶
func (self AnonymousAuth) AuthMethod() string
Use the crossbar.io "anonymous" authmethod name here.
type DynamicAuthorizer ¶
type DynamicTicketAuth ¶
func NewDynamicTicket ¶
type FeatureAuthorizer ¶
type FeatureAuthorizer struct { PermitDefault bool MatrixURI string MappingURI string TrustedAuthRoles mapset.Set FeatureMatrix *FeatureMatrix FeatureMapping *FeatureMapping CallCounter int }
func NewFeatureAuthorizer ¶
func NewFeatureAuthorizer(permitDefault bool, matrixURI string, mappingURI string, trustedAuthRoles mapset.Set) *FeatureAuthorizer
func (*FeatureAuthorizer) Initialize ¶
func (this *FeatureAuthorizer) Initialize()
func (*FeatureAuthorizer) Update ¶
func (this *FeatureAuthorizer) Update(_ context.Context, args wamp.List, _, _ wamp.Dict) *client.InvokeResult
func (*FeatureAuthorizer) UpdateMapping ¶
func (this *FeatureAuthorizer) UpdateMapping() error
func (*FeatureAuthorizer) UpdateMatrix ¶
func (this *FeatureAuthorizer) UpdateMatrix() error
type ResumeAuthenticator ¶
func NewResumeAuthenticator ¶
func NewResumeAuthenticator(authrolefunc string, realm string, invalidRoles mapset.Set) (*ResumeAuthenticator, error)
func (*ResumeAuthenticator) Authenticate ¶
func (*ResumeAuthenticator) CreateNewToken ¶
func (self *ResumeAuthenticator) CreateNewToken(_ context.Context, args wamp.List, _, _ wamp.Dict) *client.InvokeResult
func (*ResumeAuthenticator) Initialize ¶
func (self *ResumeAuthenticator) Initialize()
type SharedSecretAuthenticator ¶
type SharedSecretAuthenticator struct {}
func (*SharedSecretAuthenticator) AuthMethod ¶
func (self *SharedSecretAuthenticator) AuthMethod() string
func (*SharedSecretAuthenticator) FetchAndFilterAuthRoles ¶
func (self *SharedSecretAuthenticator) FetchAndFilterAuthRoles(authid string) (*wamp.Welcome, error)
type TLSAuth ¶
type TLSAuth struct {
ValidClientCAs []cli.TLSClientCAInfo
}
func (TLSAuth) AuthMethod ¶
Click to show internal directories.
Click to hide internal directories.