We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2eb50e commit 86e41ceCopy full SHA for 86e41ce
src/Box/Auth/AppAuth.php
@@ -19,10 +19,18 @@ class AppAuth
19
* @var FolderService
20
*/
21
protected $folder_service = null;
22
+
23
/**
24
* @var FileService
25
26
protected $file_service = null;
27
28
+ /**
29
+ * Save the claim so that we can reuse while re-issuing new tokens
30
+ * @var JWTClaim
31
+ */
32
+ protected $claim;
33
34
35
* @var
36
@@ -50,6 +58,8 @@ public function __construct($app_auth_info)
50
58
51
59
public function authenticate(JWTClaim $claim)
52
60
{
61
+ $this->claim = $claim;
62
53
63
// $key Has to be the key file handler opened using openssl method
54
64
$key = openssl_get_privatekey("file://" . getcwd() . '/' . $this->private_key, $this->pass_phrase);
55
65
0 commit comments