File tree 1 file changed +29
-0
lines changed 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ // Generated file. Do not edit by hand. Use update.php in project root.
4
+
5
+ namespace PHPFUI \ConstantContact \V3 ;
6
+
7
+ class TokenInfo extends \PHPFUI \ConstantContact \Base
8
+ {
9
+ public function __construct (\PHPFUI \ConstantContact \Client $ client )
10
+ {
11
+ parent ::__construct ($ client , '/v3/token_info ' );
12
+ }
13
+
14
+ /**
15
+ * Access Token Information
16
+ *
17
+ * IMPORTANT NOTE: As of March 31, 2022, this POST method is being depreciated.
18
+ * To view the scopes associated with an access token, parse the access
19
+ * token (JWT) claims.
20
+ *
21
+ *
22
+ * @param \PHPFUI\ConstantContact\Definition\AuthToken $auth_token A JSON request payload containing a valid OAuth2.0 access token.
23
+ */
24
+ public function post (\PHPFUI \ConstantContact \Definition \AuthToken $ auth_token ) : array
25
+ {
26
+
27
+ return $ this ->doPost (['auth_token ' => $ auth_token ->getData (), ]);
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments