in okta/AuthClient.py [0:0]
def unlock_account_answer(self, state_token, security_answer, relay_state=None):
"""Unlock an account during an authentication
:param state_token: current state token from the previous AuthResult
:type state_token: str
:param security_answer: answer to the user's security question
:type security_answer: str
:param relay_state: data that will persist for the lifetime of the authentication or recovery token
:type relay_state: str or None
:rtype: AuthResult
"""
request = {
'stateToken': state_token,
'securityAnswer': security_answer,
'relayState': relay_state
}
response = ApiClient.post_path(self, '/recovery/answer', request)
return Utils.deserialize(response.text, AuthResult)