Major release (breaking changes!)
BREAKING This is a major release version because it breaks the existing API. Changes have been made to the create()
method on the AuthToken
model. It now returns the model instance and the raw token instead of just the token to allow the expiry field to be included in the success response.
Model field of AuthToken
has been renamed from expires
to expiry
to remain consistent across the code base.
This patch requires you to run a migration and depending on your usage you might also have to adjust your code.