ZhangZhihui's Blog  

2024年11月22日

摘要: In errors.go: func (app *application) authenticationRequiredResponse(w http.ResponseWriter, r *http.Request) { message := "you must be authenticated t 阅读全文
posted @ 2024-11-22 16:09 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑
 
摘要: const ( ScopeActivation = "activation" ScopeAuthentication = "authentication" ) // Token holds the data for a token. type Token struct { Plaintext str 阅读全文
posted @ 2024-11-22 10:10 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑