AuthScheme Parameter (Connect-Xero Cmdlet)
The type of authentication to use when connecting to Xero.
Syntax
Connect-Xero -AuthScheme string
Possible Values
OAuth, PKCE, OAuthClientData 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.