Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ChurchMember = Role{ ID: 1, Name: "Church Member", Scopes: []Scope{ EventCheckIn, EventView, ProfileView, ProfileUpdate, }, } Admin = Role{ ID: 0, Name: "Admin", Scopes: []Scope{ AllAccess, }, } )
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Email EmailAddress Roles []Role }
type EmailAddress ¶
type EmailAddress string
func (EmailAddress) IsValid ¶
func (e EmailAddress) IsValid() bool
type Otp ¶
type Otp struct { EmailAddress EmailAddress PasswordHash []byte Salt []byte ExpiredTime time.Time }
type PasswordDetail ¶
type PasswordDetail struct { EmailAddress EmailAddress Salt []byte PasswordHash []byte }
Click to show internal directories.
Click to hide internal directories.