Authenticating With Jiwa's API

There are 2 different ways of authenticating: