owncloud / ocis-php-sdk

Apache License 2.0
3 stars 1 forks source link

access token optional function added #255

Closed S-Panta closed 2 months ago

S-Panta commented 2 months ago

The access token is made optional because the education user can work without that token and has its own education access token. setEducationGuzzleClient is removed because the setter is not necessary for the SDK. It can be set from outside by giving them in educationAccessToken The new implementation is done in a way that if both token isn't provided, the error will be thrown in object creation. Each function that uses accesstoken is checked on their own function body.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
94.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud