Removed $grantType from generateToken()

Removed a documented but not used parameter from generateToken().  This
was left over from an early version of the function