- Lower PHP requirement to
7.0
. - [BC] Refactor
ApiAccessToken
methodgetExpiresIn
togetExpiresAt
. - [BC] Refactor
TokenStorage
methodgetAccessToken
to not be nullable anymore, instead the exceptionUnableToAcquireAccessToken
will be thrown when an access token cannot be acquired from the storage.
- Add proper
@throws
PhpDoc for some functions.
- Make method
getAccessToken
public. Can be used to verify if providedApiSettings
are valid.
- Added
UserAlreadyMappedToApplication
andUsernameDoesNotExist
exceptions to allow custom error handling. - Change
User-Agent
header value. Example:adrenth.raindrop-sdk (PHP) version 1.1.0
- Initial release.