OAuth class
| RestMethod |
(resource="/oauth/token", method="create") |
|---|---|
| package |
Default |
getAuthorizationURL( $app_id, $redirect_uri) : string
string
getOAuthCredentials( $authorization_code, $redirect_uri) : boolean|mixed
| Throws |
|
|---|
boolean|mixed
refreshOAuthCredentials( $refresh_token) : boolean|mixed
| Throws |
|
|---|
boolean|mixed
client_secret : string
| Attribute |
() |
|---|---|
| var |
string
grant_type : string
| Attribute |
() |
|---|---|
| var |
string
code : string
| Attribute |
() |
|---|---|
| var |
string
redirect_uri : string
| Attribute |
() |
|---|---|
| var |
string
access_token : string
| Attribute |
() |
|---|---|
| var |
string
public_key : string
| Attribute |
() |
|---|---|
| var |
string
refresh_token : string
| Attribute |
() |
|---|---|
| var |
string
live_mode : boolean
| Attribute |
() |
|---|---|
| var |
boolean
user_id : integer
| Attribute |
() |
|---|---|
| var |
integer
token_type : string
| Attribute |
() |
|---|---|
| var |
string
expires_in : integer
| Attribute |
() |
|---|---|
| var |
integer
scope : string
| Attribute |
() |
|---|---|
| var |
string