projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27126bf
)
improve PHPDocs
author
Noah Miller
<nm@lemnisc.us>
Fri, 22 Sep 2023 02:46:10 +0000
(22:46 -0400)
committer
Noah Miller
<nm@lemnisc.us>
Fri, 22 Sep 2023 04:01:38 +0000
(
00:01
-0400)
ext/oauth-client/Civi/Api4/OAuthSessionToken.php
patch
|
blob
|
blame
|
history
diff --git
a/ext/oauth-client/Civi/Api4/OAuthSessionToken.php
b/ext/oauth-client/Civi/Api4/OAuthSessionToken.php
index d46ab4c629c58917d5ba55ef1ab48cbfa78522ba..6508f7617921cd05547d2f900e3a86bde3f2d5a6 100644
(file)
--- a/
ext/oauth-client/Civi/Api4/OAuthSessionToken.php
+++ b/
ext/oauth-client/Civi/Api4/OAuthSessionToken.php
@@
-6,7
+6,7
@@
use Civi\Api4\Generic\AbstractAction;
use Civi\Api4\Generic\Result;
/**
- * OAuth Access Tokens
.
+ * OAuth Access Tokens
stored in the session
*
* @see https://docs.civicrm.org/dev/en/latest/framework/oauth/#model-token
*
@@
-17,6
+17,10
@@
use Civi\Api4\Generic\Result;
*/
class OAuthSessionToken extends Generic\AbstractEntity {
+ /**
+ * @param bool $checkPermissions
+ * @return \Civi\Api4\Generic\BasicCreateAction
+ */
public static function create($checkPermissions = TRUE): Generic\BasicCreateAction {
$action = new Generic\BasicCreateAction(
static::getEntityName(),