en-US/DBC_ACC.dll-Help.xml

<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh">
  <!-- Cmdlet: Get-APSToken -->
  <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <command:details>
      <command:name>Get-APSToken</command:name>
      <command:verb>Get</command:verb>
      <command:noun>APSToken</command:noun>
      <maml:description>
        <maml:para>Get an ADSK Platform Services token for use with these Autodesk Construction Cloud cmdlets.</maml:para>
      </maml:description>
    </command:details>
    <command:syntax>
      <!-- Parameter set: __AllParameterSets -->
      <command:syntaxItem>
        <maml:name>Get-APSToken</maml:name>
        <!-- Parameter: Scopes -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="0">
          <maml:name>Scopes</maml:name>
          <maml:description>
            <maml:para>Access Scopes. Defaults to "data:read data:write account:read account:write data:create"</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>data:read data:write account:read account:write data:create</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: ClientID -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="1">
          <maml:name>ClientID</maml:name>
          <maml:description>
            <maml:para>ClientID. Defaults to value in the DBC_ACC_CLIENT_ID environment variable."</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: ClientSecret -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="11">
          <maml:name>ClientSecret</maml:name>
          <maml:description>
            <maml:para>ClientSecret. Defaults to value in the DBC_ACC_CLIENT_SECRET environment variable."</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
        </command:parameter>
        <!-- Parameter: RedirectCallback -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="2">
          <maml:name>RedirectCallback</maml:name>
          <maml:description>
            <maml:para>Defaults to http://localhost:8055/. Needs to match the Redirect URL as defined in the app definition.</maml:para>
          </maml:description>
          <command:parameterValue required="true">string</command:parameterValue>
          <dev:type>
            <maml:name>System.String</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>http://localhost:8055/</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: NewToken -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="6">
          <maml:name>NewToken</maml:name>
          <maml:description>
            <maml:para>Bypass values cached in registry and force new token generation.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
        <!-- Parameter: UnattendedMode -->
        <command:parameter required="false" globbing="false" pipelineInput="false" position="8">
          <maml:name>UnattendedMode</maml:name>
          <maml:description>
            <maml:para>Suppresses interactive form and throws exception on failure.</maml:para>
          </maml:description>
          <command:parameterValue required="true">SwitchParameter</command:parameterValue>
          <dev:type>
            <maml:name>System.Management.Automation.SwitchParameter</maml:name>
            <maml:uri />
          </dev:type>
          <dev:defaultValue>False</dev:defaultValue>
        </command:parameter>
      </command:syntaxItem>
    </command:syntax>
    <command:parameters>
      <!-- Parameter: Scopes -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="0">
        <maml:name>Scopes</maml:name>
        <maml:description>
          <maml:para>Access Scopes. Defaults to "data:read data:write account:read account:write data:create"</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>data:read data:write account:read account:write data:create</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: ClientID -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="1">
        <maml:name>ClientID</maml:name>
        <maml:description>
          <maml:para>ClientID. Defaults to value in the DBC_ACC_CLIENT_ID environment variable."</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: ClientSecret -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="11">
        <maml:name>ClientSecret</maml:name>
        <maml:description>
          <maml:para>ClientSecret. Defaults to value in the DBC_ACC_CLIENT_SECRET environment variable."</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
      </command:parameter>
      <!-- Parameter: RedirectCallback -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="2">
        <maml:name>RedirectCallback</maml:name>
        <maml:description>
          <maml:para>Defaults to http://localhost:8055/. Needs to match the Redirect URL as defined in the app definition.</maml:para>
        </maml:description>
        <command:parameterValue required="true">string</command:parameterValue>
        <dev:type>
          <maml:name>System.String</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>http://localhost:8055/</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: NewToken -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="6">
        <maml:name>NewToken</maml:name>
        <maml:description>
          <maml:para>Bypass values cached in registry and force new token generation.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
      <!-- Parameter: UnattendedMode -->
      <command:parameter required="false" globbing="false" pipelineInput="false" position="8">
        <maml:name>UnattendedMode</maml:name>
        <maml:description>
          <maml:para>Suppresses interactive form and throws exception on failure.</maml:para>
        </maml:description>
        <command:parameterValue required="true">SwitchParameter</command:parameterValue>
        <dev:type>
          <maml:name>System.Management.Automation.SwitchParameter</maml:name>
          <maml:uri />
        </dev:type>
        <dev:defaultValue>False</dev:defaultValue>
      </command:parameter>
    </command:parameters>
    <command:inputTypes />
    <command:returnValues />
    <command:examples>
      <command:example>
        <maml:title>---------- EXAMPLE 1 ----------</maml:title>
        <dev:code>$token = Get-APSToken -ClientID 'yyyyy' -RedirectCallback 'http://localhost:8055' -Scopes 'data:read data:write data:create' -ClientSecret 'XXXX'</dev:code>
      </command:example>
    </command:examples>
  </command:command>
</helpItems>