Support Center
Lets users confirm their intent to sign up with the SSO system. On input, a confirmation token must be sent. There is no response if the call succeeds, otherwise an SSOException may be raised.
confirm_signup(self, cid, confirm_token, current_app, remote_addr)
cid
: Correlation ID used by audit logconfirm_token
: Signup confirmation token obtained previouslycurrent_app
: Name of application the current user is issuing the call fromremote_addr
: User's remote addressReturns
: (None)# -*- coding: utf-8 -*-
# Zato
from zato.server.service import Service
class ConfirmSignup(Service):
def handle(self):
# Read in from request
confirm_token = 'MpPAHsQAc6_x2GlddSLfNE_mlFWqoS59'
# Confirm signup; no exception = success
self.sso.user.confirm_signup(self.cid, confirm_token, 'CRM', '127.0.0.1')