public class ChallengeResponseServiceImpl extends java.lang.Object implements ChallengeResponseService
Constructor and Description |
---|
ChallengeResponseServiceImpl(HashUtil hashUtil,
<any> challengeContainerProvider) |
Modifier and Type | Method and Description |
---|---|
ChallengeResponseContainer |
requestChallenge() |
boolean |
validateResponse(ChallengeResponseContainer container,
java.lang.String expectedSecret) |
public ChallengeResponseServiceImpl(HashUtil hashUtil, <any> challengeContainerProvider)
public ChallengeResponseContainer requestChallenge()
requestChallenge
in interface ChallengeResponseService
public boolean validateResponse(ChallengeResponseContainer container, java.lang.String expectedSecret)
validateResponse
in interface ChallengeResponseService