(ctx *gin.Context)
| 111 | } |
| 112 | |
| 113 | func (a *Auth) tokenFromXGotifyHeader(ctx *gin.Context) string { |
| 114 | return ctx.Request.Header.Get(headerName) |
| 115 | } |
| 116 | |
| 117 | func (a *Auth) tokenFromAuthorizationHeader(ctx *gin.Context) string { |
| 118 | const prefix = "Bearer " |
no outgoing calls
no test coverage detected