Imports code.gitea.io/sdk/gitea code.gitea.io/gitea/modules/context code.gitea.io/gitea/modules/setting code.gitea.io/gitea/modules/base code.gitea.io/gitea/modules/log gopkg.in/macaron.v1 code.gitea.io/gitea/models github.com/dgrijalva/jwt-go Standard library imports encoding/base64 encoding/hex encoding/json errors fmt io net/http os path path/filepath regexp strconv strings time crypto/sha256