Difference between revisions of "CMU OAUTH PHP CLASS"
From CMU ITSC Network
| Line 43: | Line 43: | ||
|appid | |appid | ||
|cmu oauth Client ID | |cmu oauth Client ID | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Return Values | ||
| + | |- | ||
| + | | no return value | ||
| + | |} | ||
| + | |||
| + | === setAppSecret === | ||
| + | Set Client Secret | ||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Description | ||
| + | |- | ||
| + | |setAppSecret(string $appSecret) | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Parameters | ||
| + | |- | ||
| + | |name || description | ||
| + | |- | ||
| + | |appSecret | ||
| + | |cmu oauth Client Secret | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Return Values | ||
| + | |- | ||
| + | | no return value | ||
| + | |} | ||
| + | |||
| + | === setCallbackUri=== | ||
| + | Set Redirect URI | ||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Description | ||
| + | |- | ||
| + | |setCallbackUri(string $uri) | ||
| + | |} | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |+ style="text-align:left;"|Parameters | ||
| + | |- | ||
| + | |name || description | ||
| + | |- | ||
| + | |uri | ||
| + | |Application Callback / Redirect URI | ||
|} | |} | ||
Revision as of 11:16, 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 |
setAppId
set Client ID
| setAppId(string $appid) |
| name | description |
| appid | cmu oauth Client ID |
| no return value |
setAppSecret
Set Client Secret
| setAppSecret(string $appSecret) |
| name | description |
| appSecret | cmu oauth Client Secret |
| no return value |
setCallbackUri
Set Redirect URI
| setCallbackUri(string $uri) |
| name | description |
| uri | Application Callback / Redirect URI |
| no return value |