 | UserServiceLogin Method |
Logs a user into the ParaPlan API.
Namespace:
ParaPlanREST
Assembly:
ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic UserToken Login(
string userName,
string password,
string device,
string version,
string deviceToken,
string utcOffSet,
string deviceType = ""
)
public:
UserToken^ Login(
String^ userName,
String^ password,
String^ device,
String^ version,
String^ deviceToken,
String^ utcOffSet,
String^ deviceType = L""
)
function Login(userName, password, device, version, deviceToken, utcOffSet, deviceType);
Parameters
- userName
- Type: SystemString
Email address of user - password
- Type: SystemString
SHA-512 encoded password - device
- Type: SystemString
Device name used when logging into API - version
- Type: SystemString
Version of calling code - deviceToken
- Type: SystemString
Push notification token for device - utcOffSet
- Type: SystemString
Users delta from UTC - deviceType (Optional)
- Type: SystemString
Type of device for push notifications. Use APN or FCM
Return Value
Type:
UserTokenInformation about the logged in user and a token for future API calls
See Also