GET,POST | /Apple/Authorise |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
code | body | string | No | |
id_token | body | string | No | |
state | body | string | No | |
user | body | string | No | |
error | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
iss | form | string | No | |
aud | form | string | No | |
exp | form | int | No | |
iat | form | int | No | |
sub | form | string | No | |
nonce | form | string | No | |
nonce_supported | form | bool | No | |
form | string | No | ||
email_verified | form | bool | No | |
is_private_email | form | bool | No | |
real_user_status | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Apple/Authorise HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
code: String,
id_token: String,
state: String,
user: String,
error: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { iss: String, aud: String, exp: 0, iat: 0, sub: String, nonce: String, nonce_supported: False, email: String, email_verified: False, is_private_email: False, real_user_status: 0 }