Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuth ¶
type BasicAuth struct {
// contains filtered or unexported fields
}
BasicAuth allows users to login using a username and password RemoteAuth
func NewBasicAuth ¶
NewBasicAuth creates a new BasicAuth. Reads users data from config files
type DevAuth ¶
type DevAuth struct {
// contains filtered or unexported fields
}
DevAuth is a development only twitter this twitter allows any users to login without authentecation
type RemoteAuth ¶
type RemoteAuth struct { APIEndpoint string Token string // contains filtered or unexported fields }
BasicAuth allows users to login using a remote services
func NewRemoteAuth ¶
func NewRemoteAuth(sparrow *core.Sparrow) *RemoteAuth
NewRemoteAuth creates a new RemoteAuth
Click to show internal directories.
Click to hide internal directories.