Class OAuth2Exception
- Espace de noms
- SESARWebHook.Core.Auth
Exception levée lors d'une erreur d'authentification OAuth2.
public class OAuth2Exception : Exception, ISerializable
- Héritage
-
OAuth2Exception
- Implements
- Membres hérités
Constructors
OAuth2Exception(string)
public OAuth2Exception(string message)
Paramètres
messagestring
OAuth2Exception(string, Exception)
public OAuth2Exception(string message, Exception innerException)
Paramètres
OAuth2Exception(string, string)
public OAuth2Exception(string message, string rawResponse)
Paramètres
OAuth2Exception(string, string, string)
public OAuth2Exception(string message, string rawResponse, string errorCode)
Paramètres
Properties
ErrorCode
Code d'erreur OAuth2 (si disponible).
public string ErrorCode { get; }
Valeur de la propriété
RawResponse
Réponse brute du serveur d'authentification.
public string RawResponse { get; }
Valeur de la propriété
Methods
ToString()
Creates and returns a string representation of the current exception.
public override string ToString()
Retour
- string
A string representation of the current exception.