Auth stuff

This commit is contained in:
2024-10-22 00:12:28 +08:00
parent 85783aa331
commit ed05782319
12 changed files with 236 additions and 18 deletions

12
pkg/nex/sec/const.go Normal file
View File

@ -0,0 +1,12 @@
package sec
const (
CookieAccessToken = "nex_atk"
CookieRefreshToken = "nex_rtk"
)
const (
TokenTypeAccess = "access_token"
RefreshTokenType = "refresh_token"
IdTokenType = "id_token"
)