Authenticate User
POST/profile/authenticate
Perform user authentication, returning a model which includes the users profile and a JWT auth token to re-use in subsequent requests.
Authenticate User
curl https://api.openchargemap.io/v3/profile/authenticate \
-X POST{
"Data": {
"access_token": "x",
"UserProfile": {
"DateCreated": "x",
"ID": 0,
"IsProfilePublic": true,
"Username": "x",
"DateLastLogin": "x",
"EmailAddress": "x",
"Latitude": 0,
"Location": "x",
"Longitude": 0,
"Permissions": "x",
"Profile": "x",
"ProfileImageURL": "x",
"ReputationPoints": 0,
"WebsiteURL": "x"
}
},
"Metadata": {
"StatusCode": 0
}
}Returns Examples
{
"Data": {
"access_token": "x",
"UserProfile": {
"DateCreated": "x",
"ID": 0,
"IsProfilePublic": true,
"Username": "x",
"DateLastLogin": "x",
"EmailAddress": "x",
"Latitude": 0,
"Location": "x",
"Longitude": 0,
"Permissions": "x",
"Profile": "x",
"ProfileImageURL": "x",
"ReputationPoints": 0,
"WebsiteURL": "x"
}
},
"Metadata": {
"StatusCode": 0
}
}