okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

Pagination #105

Closed bretterer closed 3 years ago

bretterer commented 3 years ago

Usage:

$foundUser = $this->okta->user->listUsers(['limit'=>'1']);
$foundUser1 = $foundUser->first();

$foundUser = $foundUser->nextSet();
$foundUser2 = $foundUser->first();
codecov-commenter commented 3 years ago

Codecov Report

Merging #105 into sdk_v2 will increase coverage by 0.43%. The diff coverage is 40.63%.

Impacted file tree graph

@@             Coverage Diff              @@
##             sdk_v2     #105      +/-   ##
============================================
+ Coverage     17.79%   18.23%   +0.43%     
- Complexity     2614     2620       +6     
============================================
  Files           287      287              
  Lines         11026    11222     +196     
============================================
+ Hits           1962     2046      +84     
- Misses         9064     9176     +112     
Impacted Files Coverage Δ Complexity Δ
src/Clients/Application.php 0.50% <0.00%> (-0.03%) 45.00 <0.00> (ø)
src/Clients/Feature.php 3.03% <0.00%> (-0.48%) 9.00 <0.00> (ø)
src/Clients/IdentityProvider.php 0.64% <0.00%> (-0.04%) 36.00 <0.00> (ø)
src/Clients/LinkedObject.php 4.65% <0.00%> (-0.35%) 6.00 <0.00> (ø)
src/Clients/Log.php 11.11% <0.00%> (-2.23%) 3.00 <0.00> (ø)
src/Clients/Policy.php 1.39% <0.00%> (-0.07%) 17.00 <0.00> (ø)
src/Clients/TrustedOrigin.php 2.77% <0.00%> (-0.13%) 9.00 <0.00> (ø)
src/Clients/UserFactor.php 1.83% <0.00%> (-0.17%) 13.00 <0.00> (ø)
src/Group/Group.php 33.33% <ø> (ø) 10.00 <0.00> (ø)
src/Clients/User.php 42.35% <25.00%> (-1.32%) 63.00 <0.00> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 24f0fc8...f68468c. Read the comment docs.