Difference between revisions of "CMU OAUTH PHP CLASS"
From CMU ITSC Network
Line 1: | Line 1: | ||
− | |||
− | |||
== Method == | == Method == | ||
=== Constructor === | === Constructor === | ||
+ | Set Client ID, Client Secret, Redirect URI | ||
+ | {| class="wikitable" | ||
+ | |+ style="text-align:left;"|Description | ||
+ | |- | ||
+ | |__construct([string $appId, string $clientSecret, string $redirectURI]) | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align:left;"|Parameters | ||
+ | |- | ||
+ | |name || description | ||
+ | |- | ||
+ | |appId | ||
+ | |cmu oauth Client ID | ||
+ | |- | ||
+ | |clientSecret | ||
+ | |cmu oauth Client Secret | ||
+ | |- | ||
+ | |redirectURI | ||
+ | |cmu oauth Redirect URI | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ style="text-align:left;"|Return Values | ||
+ | |- | ||
+ | | no return value | ||
+ | |} | ||
=== setAppId === | === setAppId === | ||
== Examples == | == Examples == |
Revision as of 11:02, 24 September 2017
Method
Constructor
Set Client ID, Client Secret, Redirect URI
__construct([string $appId, string $clientSecret, string $redirectURI]) |
name | description |
appId | cmu oauth Client ID |
clientSecret | cmu oauth Client Secret |
redirectURI | cmu oauth Redirect URI |
no return value |