Documentation ¶
Index ¶
- Variables
- type AuthZDescriptor
- type Server
- func (s *Server) AddActorIDToAccountID(acctID, actorID uuid2.UUID) error
- func (s *Server) CreateAccount(user, pass string) error
- func (s *Server) DoLogin(user, pass string) (uuid2.UUID, *AuthZDescriptor, error)
- func (s *Server) GetActorIDsForAccountID(acctID uuid2.UUID) []uuid2.UUID
- func (s *Server) Start() error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BadUserOrPassphraseError = errors.New("Bad username or passphrase")
)
Functions ¶
This section is empty.
Types ¶
type AuthZDescriptor ¶
type Server ¶
type Server struct { AccountDatabaseFile string // contains filtered or unexported fields }
func (*Server) AddActorIDToAccountID ¶
func (*Server) CreateAccount ¶
func (*Server) GetActorIDsForAccountID ¶
Click to show internal directories.
Click to hide internal directories.