Compartilhar via


FailedAuthenticationException(String, String) constructor

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

Signature

public FailedAuthenticationException(String userId, String challenge)

Parameters

Name Datatype Notes
userId
String
Id of the user the token was issued to.
challenge
String
Challenge string used to generate the Id.

Returns

FailedAuthenticationException

Defined in

FailedAuthenticationException.java