Cmdlets for Smaregi

Build 25.0.9434

Scope Parameter (Connect-Smaregi Cmdlet)

This determines the scopes that the OAuth application requests from Smaregi.

Syntax

Connect-Smaregi -Scope string

Data Type

cstr

Default Value

""

Remarks

スコープは、認証ユーザーがどのようなアクセス権を持つかを定義するために設定されます。例えば、読み取り、読み取りと書き込み、機密情報への制限付きアクセスなどです。システム管理者は、スコープを使用して機能またはセキュリティクリアランスによるアクセスを選択的に有効化できます。

InitiateOAuthGETANDREFRESH に設定されている場合、要求するスコープを変更したい場合はこのプロパティを使用する必要があります。

InitiateOAuthREFRESH またはOFF のいずれかに設定されている場合、このプロパティまたはScope 入力を使用して、要求するスコープを変更できます。

By default the 本製品 will request that the user authorize all required scopes. If you want to override this, you can set this property to a space-separated list of OAuth scopes. Please make sure that OAuth App Settings also has these scopes.

The default scopes are: "pos.products:read pos.products:write pos.customers:read pos.customers:write pos.stock:read pos.stock:write pos.stock-changes:read pos.transactions:read pos.transactions:write pos.suppliers:read pos.suppliers:write pos.stores:read pos.stores:write pos.staffs:read pos.staffs:write pos.losses:read pos.losses:write pos.orders:read pos.orders:write pos.transfers:read pos.transfers:write pos.stocktaking:read".

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434