1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-12 09:50:39 +00:00

Adapter: plugin

This commit is contained in:
Ming Deng
2020-09-05 16:54:05 +08:00
parent 1dae2c9eb3
commit f1950482c2
10 changed files with 728 additions and 5 deletions

View File

@ -83,11 +83,6 @@ func APIBasicAuth(appid, appkey string) web.FilterFunc {
return APISecretAuth(ft, 300)
}
// APIBasicAuth calls APIBasicAuth for previous callers
func APIBaiscAuth(appid, appkey string) web.FilterFunc {
return APIBasicAuth(appid, appkey)
}
// APISecretAuth uses AppIdToAppSecret verify and
func APISecretAuth(f AppIDToAppSecret, timeout int) web.FilterFunc {
return func(ctx *context.Context) {