Service: ContactAuthenticationPublicService

Version: 2_22 (other versions, change log, ZUMSTEIN_V4.1-SNAPSHOT) Active version. This version can be subject to minor retro-compatible changes without warnings.

SOAP Demo endpoint: https://myinstit.ws.secutix.com/tnco/external-remoting/com.secutix.service.contact.v2_22.ContactAuthenticationPublicService.webservice?wsdl

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

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

For further documentation and examples, please check in Platform Website.

Methods:

authenticate

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method is used to authenticate a contact or an operator (if attributes operatorLogin = true) based on his login and password and more attributes available from ContactAuthenticationData.

Authentication can be based either on login+password, either on a anterior authentication having generated a unique identifier rememberMe.

During a login/password authentication, boolean remmemberMe allows to decide wether such a token must be generated. A rememberMe token is valid during one month max.

If authentication is done through a token, a NEW token + identifier are generated, invalidating the other ones.

This method takes into account parametrization of point of sales. In case of B2B sales, it checks wether the contact is authorized to log on the given point of sales.

Parameters

contactAuthenticationDataContactAuthenticationData     

ContactAuthenticationData
contactNumberString (20)     
contactTypeScope(INDIVIDUAL|STRUCTURE|
ANY)
     
guestLoginboolean     
identificationString     
identityProviderString     
ignoreGuestLoginCheckboolean     
isRequiredAccountVerificationEmailBooleanThis field use to required perform action check account verification email. If not defined, set to false.
loginString     
operatorLoginboolean     
passwordString     
pointOfSalesIdLong     
providerUserReferenceString     
rememberMeboolean     
socialLoginboolean     
structureContactNumberString (20)     
targetContactNumberString (20)     
uniqueTokenString     

Return value

ContactAuthenticationResult
contactNumberString (20)     
emailString     
identificationString     
uniqueTokenString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

changePassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to modify the current password of a contact identified by its contact number.

Parameters

contactNumberString (20)Mandatory
number of the contact to alter its password; mandatory.
currentPasswordStringMandatory
current contact password; mandatory;
newPasswordStringMandatory
new password if the existing password match; mandatory.

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

listAuthorizedPOS

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method can accept two different kind of values for the parameter contactNumber:

If a contact number is passed (case 1.), it must be the one of a relay contact or the public contact number of a structure. In that case, the method will return the list of point of sales explicitly associated to those contacts.
If an email address is passed (case 2.), the method will implicitly list all contacts having this email address, and it will list all point of sales associated to those contacts in case of relays and structures, and all public point of sales if the contact is a public individual.

Parameters

contactNumberString (20)- a contatc number or an email address.

Return value

ListAuthorizedPOSResult
pointOfSalesList of PosSummary     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

PosSummary
pointOfSalesIdLong     
urlString (255)     

recoverPassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows a contact identified by the given email address to request a new randomly generated password for authentication. The old password is automatically invalidated.

Parameters

emailStringMandatory
Mandatory, email of the contact
contactNumberString (20)Mandatory
Only mandatory and to be considered for relay contacts.(STX-5744) Since the email is not unique and this function can used for individual contact and structure contact, we add a new parameter contactNumber to help identify the right contact to modify.
contactTypeScope(INDIVIDUAL|STRUCTURE|
ANY)
     
passwordGenerationPolicy(GENERATE_NEW_PASSWORD|
KEEP_PASSWORD)
The enum use to define contact's password should be generated new or keep as the old one and change later.

Return value

PasswordRecoveryResult
contactNumberString (20)     
emailString     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

resetPassword

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method allows to reset the current password of contact by new password and identified contact by token which is already sent by secure one-time reset link

Parameters

tokenStringMandatory
requested reset password token to validate and identified contact, mandatory
newPasswordStringMandatory
new password to updated for contact which is identified by token, mandatory

Return value

PasswordRecoveryResult

validateResetPasswordToken

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

This method is used to validate secure one-time reset link is not expired by token

Parameters

tokenStringMandatory
requested reset password token, mandatory

Return value

WebMethodResult