   getUsersUrl  = -> Configuration.get('heraclesUrl') + '/directory/users'
   usersInRealmUrl = -> Configuration.get('heraclesUrl') + '/directory'
   setFirstLoginUrl = -> Configuration.get('heraclesUrl') + '/directory/setlogin'
-  getConfirmation = -> Configuration.get('heraclesUrl') + '/registration/confirmation/resend'
-  getVerification = -> Configuration.get('heraclesUrl') + '/registration/verification/'
+  getConfirmationUrl = -> Configuration.get('heraclesUrl') + '/registration/confirmation/resend'
+  getVerificationUrl = -> Configuration.get('heraclesUrl') + '/registration/verification/'
   getUserIdFromEmail = (email) -> Configuration.get('heraclesUrl') + '/directory/validate/sharing/email/' + email
   getUserSettingUrl = (userSetting) -> getUserUrl() + '/setting/' + userSetting
 

    resendConfirmationEmail: (credentials = {}) ->
      Promise.resolve(axios(
        Requests.wrapCredentials({
          url: getConfirmation()
          method: 'GET'
        }, credentials)
      ))

    sendConfirmationToken: (uuid, token) ->
      Promise.resolve(axios(
        Requests.wrapCredentials({
          url: getVerificationUrl() + uuid + '/' + token
          method: 'GET'
        })
      ))
