// _parseToken is separated from the `parseToken` function because it's used for testing.
_parseToken is separated from the `parseToken` function because it's used for testing.
// _parseToken is separated from the ` parseToken ` function because it ' s used for testing .
func (a Auth) _parseToken(token string) (*jwt.Token, error) {
	return jwt.Parse(token, func(t *jwt.Token) (interface{}, error) {
		return a.SecretKey, nil
	})
}
func ( a Auth ) _parseToken ( token string ) ( * jwt . Token , error ) { return jwt . Parse ( token , func ( t * jwt . Token ) ( interface { } , error ) { return a . SecretKey , nil } ) }
_parseToken is separated from the `parseToken` function because it's used for testing.
_parseToken is separated from the ` parseToken ` function because it ' s used for testing .