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
serializationInfo
SerializationInfostreamingContext
StreamingContext
Fido2Exception(string)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(string message)
Parameters
message
stringThe message that describes the error.
Fido2Exception(string, Exception)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(string message, Exception innerException)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe 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
status
CtapStatusThe error status returned by the authenticator.
Fido2Exception(CtapStatus, string)
Initializes a new instance of the Fido2Exception class.
public Fido2Exception(CtapStatus status, string message)
Parameters
status
CtapStatusThe CTAP error.
message
stringThe message that describes the error.
Properties
Status
The FIDO2 status returned by the authenticator.
public CtapStatus? Status { get; }