File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1195,8 +1195,11 @@ public function get(string $access_grant_id): void
11951195 public function list (
11961196 ?string $ acs_entrance_id = null ,
11971197 ?string $ acs_system_id = null ,
1198+ ?float $ limit = null ,
1199+ ?string $ page_cursor = null ,
11981200 ?string $ reservation_key = null ,
11991201 ?string $ user_identity_id = null ,
1202+ ?callable $ on_response = null ,
12001203 ): void {
12011204 $ request_payload = [];
12021205
@@ -1206,6 +1209,12 @@ public function list(
12061209 if ($ acs_system_id !== null ) {
12071210 $ request_payload ["acs_system_id " ] = $ acs_system_id ;
12081211 }
1212+ if ($ limit !== null ) {
1213+ $ request_payload ["limit " ] = $ limit ;
1214+ }
1215+ if ($ page_cursor !== null ) {
1216+ $ request_payload ["page_cursor " ] = $ page_cursor ;
1217+ }
12091218 if ($ reservation_key !== null ) {
12101219 $ request_payload ["reservation_key " ] = $ reservation_key ;
12111220 }
@@ -1218,6 +1227,10 @@ public function list(
12181227 "/access_grants/unmanaged/list " ,
12191228 json: (object ) $ request_payload ,
12201229 );
1230+
1231+ if ($ on_response !== null ) {
1232+ $ on_response ($ res );
1233+ }
12211234 }
12221235
12231236 public function update (
You can’t perform that action at this time.
0 commit comments