Token

The Token service is used soley for creating authentication tokens. Tokens are valid only for the requesting IP address.

POST /rest/token

Creates a new authentication token.

Request

Content Type: application/json
 
{
    "Username" : "Username",
    "Password" : "Password",
    "Type" : "User/Member"
}
NB: The Type property should be either User OR Member depending on the type of identity you are wishing to authenticate.

Response
Returns a '201 Created' status code

Content Type: application/json
 
{
    "Value" : "Token"
}
NB: Users should note that the Token service does not actually perform any authentication, rather it simply returns a tokenized username/password combination which can be more safely transfered between server and client.

Resources

Token

{
    "Username" : "Username",
    "Password" : "Password",
    "Type" : "User/Member",
    "Value" : "Token"
}

Last edited Sep 21, 2012 at 2:35 PM by mattbrailsford, version 13

Comments

No comments yet.