WeTransfer-Swift-SDK icon indicating copy to clipboard operation
WeTransfer-Swift-SDK copied to clipboard

Handle unauthorized responses, retries and expired bearer in Authorizer

Open PimCoumans opened this issue 6 years ago • 0 comments

Currently the Authorizer class only stores a bearer and adds it to a given request. It should be responsible for the actual authentication and could also handle the case of unauthorized responses and when the sent bearer is expired. The actual authentication part is currently done in the authorize() logic, which should be revised with most responsibility given to the Authorizer class

PimCoumans avatar Jul 11 '18 09:07 PimCoumans