Class OauthErrorFormat
Format OAuth error response Body
Inherited Members
Namespace: Pixiv.VroidSdk.Oauth.DataModel
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class OauthErrorFormat
Fields
error
Error code
Declaration
public string error
Field Value
Type | Description |
---|---|
String |
error_description
Error description
Declaration
public string error_description
Field Value
Type | Description |
---|---|
String |
Methods
FromJson(Byte[])
Deserialize JSON and create OauthErrorFormat
Declaration
public static OauthErrorFormat FromJson(byte[] jsonBinary)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | jsonBinary | OauthErrorFormat JSON string byte string |
Returns
Type | Description |
---|---|
OauthErrorFormat | DeviceAuthorization |
FromJson(String)
Deserialize JSON and create OauthErrorFormat
Declaration
public static OauthErrorFormat FromJson(string jsonString)
Parameters
Type | Name | Description |
---|---|---|
String | jsonString | OauthErrorFormat JSON string |
Returns
Type | Description |
---|---|
OauthErrorFormat | DeviceAuthorization |