Class Credential
VRoid Hub連携のためのアプリケーション設定
Inherited Members
Namespace: Pixiv.VroidSdk.Oauth.DataModel
Assembly: Pixiv.VroidSdk.dll
Syntax
public sealed class Credential
Properties
AndroidUrlScheme
Declaration
public string AndroidUrlScheme { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
ApplicationId
アプリケーションID
Declaration
public string ApplicationId { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
IosUrlScheme
認可コードを受け取るiOSのURLスキーム
Declaration
public string IosUrlScheme { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
RedirectUri
認可コードを受け取るリダイレクトURI
Declaration
public string RedirectUri { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Scope
スコープ
Declaration
public List<string> Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| List<String> |
Secret
シークレット
Declaration
public string Secret { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
FromJson(String)
JSON文字列からCredentialを作成する
Declaration
public static Credential FromJson(string jsonString)
Parameters
| Type | Name | Description |
|---|---|---|
| String | jsonString | JSON文字列 |
Returns
| Type | Description |
|---|---|
| Credential | JSON文字列から作成されたCredential |
JoinScope()
スコープを結合した文字列を返す
Declaration
public string JoinScope()
Returns
| Type | Description |
|---|---|
| String | 結合された文字列 |