- Lower PHP requirement to
7.0. - [BC] Refactor
ApiAccessTokenmethodgetExpiresIntogetExpiresAt. - [BC] Refactor
TokenStoragemethodgetAccessTokento not be nullable anymore, instead the exceptionUnableToAcquireAccessTokenwill be thrown when an access token cannot be acquired from the storage.
- Add proper
@throwsPhpDoc for some functions.
- Make method
getAccessTokenpublic. Can be used to verify if providedApiSettingsare valid.
- Added
UserAlreadyMappedToApplicationandUsernameDoesNotExistexceptions to allow custom error handling. - Change
User-Agentheader value. Example:adrenth.raindrop-sdk (PHP) version 1.1.0
- Initial release.