Table of Contents

Class OAuth2Exception

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

message string

OAuth2Exception(string, Exception)

public OAuth2Exception(string message, Exception innerException)

Parameters

message string
innerException Exception

OAuth2Exception(string, string)

public OAuth2Exception(string message, string rawResponse)

Parameters

message string
rawResponse string

OAuth2Exception(string, string, string)

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

Parameters

message string
rawResponse string
errorCode string

Properties

ErrorCode

Code d'erreur OAuth2 (si disponible).

public string ErrorCode { get; }

Property Value

string

RawResponse

Réponse brute du serveur d'authentification.

public string RawResponse { get; }

Property Value

string

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.