Show / Hide Table of Contents

Class DeviceAuthorization

Inheritance
Object
DeviceAuthorization
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Pixiv.VroidSdk.Oauth.DataModel
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class DeviceAuthorization

Fields

device_code

デバイスコード

Declaration
public string device_code
Field Value
Type Description
String

expires_in

Device Code と User Code の有効秒数

Declaration
public int expires_in
Field Value
Type Description
Int32

interval

トークンリクエストの最小ポーリング間隔秒数

Declaration
public int interval
Field Value
Type Description
Int32

user_code

ユーザーコード

Declaration
public string user_code
Field Value
Type Description
String

verification_uri

エンドユーザー検証URI

Declaration
public string verification_uri
Field Value
Type Description
String

verification_uri_complete

ユーザーコードを含むエンドユーザー検証URI

Declaration
public string verification_uri_complete
Field Value
Type Description
String

Methods

FromJson(Byte[])

JSONをデシリアライズしてDeviceAuthorizationを作成

Declaration
public static DeviceAuthorization FromJson(byte[] jsonBinary)
Parameters
Type Name Description
Byte[] jsonBinary

DeviceAuthorizationのJSON文字列のバイト列

Returns
Type Description
DeviceAuthorization

JSONをデシリライズして得られたDeviceAuthorization

FromJson(String)

JSONをデシリアライズしてDeviceAuthorizationを作成

Declaration
public static DeviceAuthorization FromJson(string jsonString)
Parameters
Type Name Description
String jsonString

DeviceAuthorizationのJSON文字列

Returns
Type Description
DeviceAuthorization

JSONをデシリライズして得られたDeviceAuthorization

In This Article
Back to top Generated by DocFX