Partager via


OAuthTokenResponse.Success Méthode

Définition

Surcharges

Success(JObject)
Success(JsonDocument)

Crée un .OAuthTokenResponse

Success(JObject)

Source:
OAuthTokenResponse.cs
Source:
OAuthTokenResponse.cs
public:
 static Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ Success(Newtonsoft::Json::Linq::JObject ^ response);
public static Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse Success (Newtonsoft.Json.Linq.JObject response);
static member Success : Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
Public Shared Function Success (response As JObject) As OAuthTokenResponse

Paramètres

response
Newtonsoft.Json.Linq.JObject

Retours

S’applique à

Success(JsonDocument)

Source:
OAuthTokenResponse.cs

Crée un .OAuthTokenResponse

public:
 static Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ Success(System::Text::Json::JsonDocument ^ response);
public static Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse Success (System.Text.Json.JsonDocument response);
static member Success : System.Text.Json.JsonDocument -> Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
Public Shared Function Success (response As JsonDocument) As OAuthTokenResponse

Paramètres

response
JsonDocument

Charge utile JSON reçue.

Retours

Instance de OAuthTokenResponse.

S’applique à