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 381c8cb commit eae5889Copy full SHA for eae5889
src/AccessToken.php
@@ -165,13 +165,14 @@ public static function fromResponseArray($responseArray)
165
);
166
}
167
168
+ /**
169
+ * Specify data format for json_encode()
170
+ */
171
public function jsonSerialize()
172
{
173
return [
174
'token' => $this->getToken(),
175
'expiresAt' => $this->getExpiresAt(),
176
];
177
-
178
0 commit comments