OAuthTokenResponse.Failed(Exception) 方法

定义

创建失败的 OAuthTokenResponse

public:
 static Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ Failed(Exception ^ error);
public static Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse Failed (Exception error);
static member Failed : Exception -> Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
Public Shared Function Failed (error As Exception) As OAuthTokenResponse

参数

error
Exception

与失败关联的错误。

返回

一个 OAuthTokenResponse 实例。

适用于