Class Fido2Exception
Exception that represents when the authenticator presents an unsuccessful FIDO2 status.
[Serializable]
public class Fido2Exception : Exception
- Inheritance
-
objectExceptionFido2Exception
- Derived
Constructors
Fido2Exception()
Initializes a new instance of the Fido2Exception class.
public Fido2Exception()
Fido2Exception(SerializationInfo, StreamingContext)
protected Fido2Exception(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
serializationInfoSerializationInfostreamingContextStreamingContext
Fido2Exception(string)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(string message)
Parameters
messagestringThe message that describes the error.
Fido2Exception(string, Exception)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception.
Fido2Exception(CtapStatus)
Initializes a new instance of the Fido2Exception class, and sets an appropriate message.
public Fido2Exception(CtapStatus status)
Parameters
statusCtapStatusThe error status returned by the authenticator.
Fido2Exception(CtapStatus, string)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(CtapStatus status, string message)
Parameters
statusCtapStatusThe CTAP error.
messagestringThe message that describes the error.
Properties
Status
The FIDO2 status returned by the authenticator.
public CtapStatus? Status { get; }