def DisplayUserSecret(user):
 secret = _GetUserSecret(user)
 print 'user secret={0}'.format(secret)
 print 'verification code={0}'.format(_ComputeOTP(secret, 0))
 print 'activation URL:', _GetActivationURL(user, secret)

def DisplayUserSecret ( user ) : secret = _GetUserSecret ( user ) print 'user secret={0}' . format ( secret ) print 'verification code={0}' . format ( _ComputeOTP ( secret , 0 ) ) print 'activation URL:' , _GetActivationURL ( user , secret )
gets the user secret from the secrets database and displays it .