Table of Contents

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

message string

OAuth2Exception(string, Exception)

public OAuth2Exception(string message, Exception innerException)

Paramètres

message string
innerException Exception

OAuth2Exception(string, string)

public OAuth2Exception(string message, string rawResponse)

Paramètres

message string
rawResponse string

OAuth2Exception(string, string, string)

public OAuth2Exception(string message, string rawResponse, string errorCode)

Paramètres

message string
rawResponse string
errorCode string

Properties

ErrorCode

Code d'erreur OAuth2 (si disponible).

public string ErrorCode { get; }

Valeur de la propriété

string

RawResponse

Réponse brute du serveur d'authentification.

public string RawResponse { get; }

Valeur de la propriété

string

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.