File tree Expand file tree Collapse file tree
src/Keboola/StorageApi/Options Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ class TokenCreateOptions extends TokenAbstractOptions
1010 /** @var bool */
1111 private $ canManageBuckets = false ;
1212
13- private bool $ canManageTokens = false ;
14-
1513 private bool $ canManageProtectedDefaultBranch = false ;
1614
1715 private bool $ canCreateJobs = false ;
@@ -52,17 +50,6 @@ public function setCanManageBuckets($allow): static
5250 return $ this ;
5351 }
5452
55- public function setCanManageTokens (bool $ canManageTokens ): static
56- {
57- $ this ->canManageTokens = $ canManageTokens ;
58- return $ this ;
59- }
60-
61- public function canManageTokens (): bool
62- {
63- return $ this ->canManageTokens ;
64- }
65-
6653 public function setCanManageProtectedDefaultBranch (bool $ canManageProtectedDefaultBranch ): static
6754 {
6855 $ this ->canManageProtectedDefaultBranch = $ canManageProtectedDefaultBranch ;
@@ -96,10 +83,6 @@ public function toParamsArray(bool $forJson = false): array
9683 $ params ['canManageBuckets ' ] = true ;
9784 }
9885
99- if ($ this ->canManageTokens ()) {
100- $ params ['canManageTokens ' ] = true ;
101- }
102-
10386 if ($ this ->getExpiresIn () !== null ) {
10487 $ params ['expiresIn ' ] = $ this ->getExpiresIn ();
10588 }
You can’t perform that action at this time.
0 commit comments