Service: ContactSocialLoginService

Version: 1_0 (other versions, change log) Latest stable version. Please base all your developments on this one.

SOAP Demo endpoint: https://secutix.ws.secutix.com/tnco/external-remoting/com.secutix.service.contact.sociallogin.v1_0.ContactSocialLoginService.webservice?wsdl

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnco/backend-apis/contactSocialLoginService/v1_0/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "secutix" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.Interface for all the contact services concerning the Social login

Methods:

addLink

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method that add a link between the contact specified by the contact number and the identifier given by the identity provider.

Parameters

contactNumberString (20)The contact number of the contact to which the link will be added.
provider(NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT)
Name of the provider that provides the identification.
providerUserReferenceStringReference of the user at the identity provider.

Return value

WebMethodResult2
requestIdInteger     
statusCodeString (8)     
statusDetailString     

createUser

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method that creates a user given the profil information contained in the signUpData and create the link with given identity provider reference.

Parameters

signUpDataSignUpDataContains the profil information.
provider(NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT)
Name of the identity provider.
providerUserReferenceStringReference of the user at the identity provider.

SignUpData
Sign up information extracted from the social profile
emailString     
firstnameString     
gender(FEMALE|MALE|UNKNOWN)     
langString     
lastnameString     
phoneNumberString     
phonePrefixString     
title(MISS|MR|MRS|MR_AND_MRS|
UNDEFINED)
     

Return value

WebMethodResult2

getListOfIdentityProvider

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method to get the list of possible identity provider

Parameters

Return value

SupportedIdentityProviders
identityProvidersSet of (NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT)
     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getSocialLoginState

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method that return the state of the contact regarding the social login.

Parameters

contactNumberString (20)The contact number of the contact.

Return value

SocialLoginState
passwordSetboolean     
providersSet of (NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT)
     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

removeLink

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method that remove the link between the specified contact and the identity provider.

Parameters

contactNumberString (20)The contact number of the contact.
provider(NONE|FACEBOOK|GOOGLE|
TWITTER|UEFA|MDP|
SWISSPASS|ACCOUNT_KIT)
The name of the identity provider.

Return value

WebMethodResult2

setPassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method to change the password of an account that has been created via social login. Therefore the old password must be inexistent.

Parameters

contactNumberString (20)The contact number of the contact.
newPasswordStringThe new password.

Return value

WebMethodResult2