MCPcopy
hub / github.com/writefreely/writefreely / GetUserID

Method GetUserID

database.go:69–69  ·  view source on GitHub ↗
(accessToken string)

Source from the content-addressed store, hash-verified

67 GetUserDataFromToken(string) (int64, string, error)
68 GetAPIUser(header string) (*User, error)
69 GetUserID(accessToken string) int64
70 GetUserIDPrivilege(accessToken string) (userID int64, sudo bool)
71 DeleteToken(accessToken []byte) error
72 FetchLastAccessToken(userID int64) string

Callers 14

newPostFunction · 0.65
deletePostFunction · 0.65
addPostFunction · 0.65
dispersePostFunction · 0.65
pinPostFunction · 0.65
loginFunction · 0.65
viewExportPostsFunction · 0.65
apiAuthFunction · 0.65
optionalAPIAuthFunction · 0.65
newCollectionFunction · 0.65
existingCollectionFunction · 0.65

Implementers 1

datastoredatabase.go

Calls

no outgoing calls

Tested by

no test coverage detected