Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
bcrypt 为加盐hash 就算传入相同的值, hash出来的值每次都不同 比对的时候会将保存密码时加的盐取出来,再和传入的密码做比对
func IsAccessTokenExpiredError ¶
IsAccessTokenExpiredError 判断是否是NotFoundError
func MakeBearer ¶
MakeBearer https://tools.ietf.org/html/rfc6750#section-2.1 b64token = 1*( ALPHA / DIGIT /"-" / "." / "_" / "~" / "+" / "/" ) *"="
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.