FailedAuthenticationException(String, String, ProtectionException) constructor

Constructs a new authentication exception, FailedAuthenticationException class with a default message and tag a user id, challenge string and the previous exception.

Signature

public FailedAuthenticationException(String userId, String challenge, 
                             ProtectionException e)

Parameters

Name Datatype Notes
userId
String
Id of the user the token was issued to.
challenge
String
Challenge string used to generate the Id.
e
ProtectionException
The previous exception that this exception wraps.

Returns

FailedAuthenticationException

Defined in

FailedAuthenticationException.java