Cmdlets for Xero

Build 24.0.9060

AuthScheme Parameter (Connect-Xero Cmdlet)

The type of authentication to use when connecting to Xero.

Syntax

Connect-Xero -AuthScheme string

Possible Values

OAuth, PKCE, OAuthClient

Data Type

cstr

Default Value

"PKCE"

Remarks

Current authentication methods supported for new apps:

  • OAuth: Authenticates you using OAuth with a client ID and secret. Should be used with server-side applications.
  • PKCE: Authenticates you using OAuth with only a client ID. Should be used with client-side applications.
  • OAuthClient: Authenticates you using client credentials with a client ID and secret. Can only be used if you have purchased a Custom Connection license from Xero.

This is a required parameter.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060