Documentation ¶
Index ¶
- func AppGetKey(key string) error
- func AppspaceAvatarFilename(f string) error
- func AppspaceBackupFile(b string) error
- func AppspacePermission(p string) error
- func AppspaceUserAuthType(authType string) error
- func DBName(pw string) error
- func DisplayName(dn string) error
- func DomainName(domainName string) error
- func DropIDFull(dropID string) error
- func DropIDHandle(handle string) error
- func Email(email string) error
- func HttpURL(url string) error
- func JoinDropID(handle, domain string) string
- func LocationKey(loc string) error
- func NormalizeDisplayName(dn string) string
- func NormalizeDomainName(domainName string) string
- func NormalizeDropIDFull(dropid string) string
- func NormalizeDropIDHandle(h string) string
- func NormalizeEmail(email string) string
- func Password(pw string) error
- func SplitDropID(key string) (handle, domain string)
- func UserProxyID(p string) error
- func V0AppspaceLoginRef(ref string) error
- func V0AppspaceLoginToken(token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppspaceAvatarFilename ¶
func AppspaceBackupFile ¶
AppspaceBackupFile validates names of appspace backup files (sans .zip extension)
func AppspacePermission ¶
AppspacePermission validates an appspace permission identifier string
func AppspaceUserAuthType ¶
AppspaceUserAuthType validates auth type for appspace users
func DisplayName ¶
DisplayName validates an aappspace user's or DropID display name
func DomainName ¶
DomainName validates a domain name Domain can include subdomains
func JoinDropID ¶
JoinDropID joins the domain and handle of a dropid
func LocationKey ¶
func NormalizeDisplayName ¶
NormalizeDisplayName makes display names better
func NormalizeDomainName ¶
NormalizeDomainName makes domain names comparable
func NormalizeDropIDFull ¶
NormalizeDropIDFull makes full dropid strings comparable
func NormalizeDropIDHandle ¶
NormalizeDropIDHandle makes handles comparable
func NormalizeEmail ¶
NormalizeEmail makes emails comparable
func SplitDropID ¶
SplitDropID splits the dropid key into its domain and handle subparts
func V0AppspaceLoginRef ¶
V0AppspaceLoginRef is a reference used to identify requests for tokens to remote host
func V0AppspaceLoginToken ¶
V0AppspaceLoginToken is used to obtain a session cookie for an appspace
Types ¶
This section is empty.