Class OAuth2Exception
- Namespace
- SESARWebHook.Core.Auth
Exception levée lors d'une erreur d'authentification OAuth2.
public class OAuth2Exception : Exception, ISerializable
- Inheritance
-
OAuth2Exception
- Implements
- Inherited Members
Constructors
OAuth2Exception(string)
public OAuth2Exception(string message)
Parameters
messagestring
OAuth2Exception(string, Exception)
public OAuth2Exception(string message, Exception innerException)
Parameters
OAuth2Exception(string, string)
public OAuth2Exception(string message, string rawResponse)
Parameters
OAuth2Exception(string, string, string)
public OAuth2Exception(string message, string rawResponse, string errorCode)
Parameters
Properties
ErrorCode
Code d'erreur OAuth2 (si disponible).
public string ErrorCode { get; }
Property Value
RawResponse
Réponse brute du serveur d'authentification.
public string RawResponse { get; }
Property Value
Methods
ToString()
Creates and returns a string representation of the current exception.
public override string ToString()
Returns
- string
A string representation of the current exception.