Documentation
¶
Index ¶
- Variables
- func GetAuth(ctx server.Context) string
- func GetRefreshAuth(ctx server.Context) string
- func RemoveAuth(ctx server.Context)
- func Save(ctx server.Context, name string, value string, ttlHour int, domain string)
- func SaveAuth(ctx server.Context, token string, ttlHour int, domain string)
- func SaveRefreshAuth(ctx server.Context, token string, ttlHour int, domain string)
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessTokenName = "at"
View Source
var HttpsCookie = false
View Source
var RefreshTokenName = "rt"
Functions ¶
func GetRefreshAuth ¶
func RemoveAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.