FireDAC Components for Xero

Build 23.0.8839

AuthScheme

The type of authentication to use when connecting to Xero.

Syntax


property AuthScheme: String;

Possible Values

Auto, OAuth, PKCE, OAuthClient

Data Type

String

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.
  • Auto: Uses the value of the XeroAppAuthentication property to determine the authentication mode. XeroAppAuthentication is included only for backwards compatibility and all new connections should use a different AuthScheme property.

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