POST apple/sign-up
Sign up using Apple authentication
Request Information
URI Parameters
None.
Body Parameters
AppleCallbackRequestModelName | Description | Type | Additional information |
---|---|---|---|
state |
Can be used for any internal identifiers (e.g. Session IDs, User IDs, Query Strings, etc.). |
string |
None. |
code |
Authorization code that should be exchanged for an Authorization token. |
string |
None. |
id_token |
Initial JSON Web Token containing information about issuer, user, etc. |
string |
None. |
user |
Information about the user. Send only the first time the user signs in. |
AppleUserRequestModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "state": "sample string 1", "code": "sample string 2", "id_token": "sample string 3", "user": { "name": { "firstName": "sample string 1", "lastName": "sample string 2" }, "email": "sample string 1" } }
application/xml, text/xml
Sample:
<AppleCallbackRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models"> <code>sample string 2</code> <id_token>sample string 3</id_token> <state>sample string 1</state> <user> <email>sample string 1</email> <name> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> </name> </user> </AppleCallbackRequestModel>
multipart/form-data
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.