ADO.NET Provider for GraphQL

Build 25.0.9434

AuthScheme

Specifies the authentication method to use when connecting to remote services.

Possible Values

None, Basic, OAuth, OAuthClient, OAuthPassword, OAuthPKCE, AwsCognitoSrp, AwsCognitoBasic

Data Type

string

Default Value

"None"

Remarks

This property determines the type of authentication used during connection. The available options depend on the remote service’s requirements and the level of security needed for your application.

  • None: No authentication is used. This option is suitable for services that do not require authentication.
  • Basic: Uses Basic authentication with the User and Password properties to provide credentials.
  • OAuth: Supports both OAuth1 and OAuth2 authentication flows. The OAuthGrantType property specifies the flow, and the OAuthVersion property determines the OAuth version.
  • OAuthClient: Implements OAuth2 with the client credentials grant type. Use the OAuthClientId and OAuthClientSecret properties for credentials, with OAuthVersion set to 2.0.
  • OAuthPassword: Implements OAuth2 with the password grant type. Credentials are provided by the User and Password properties, with OAuthVersion set to 2.0.
  • OAuthPKCE: Implements OAuth2 with the authorization code grant type and the PKCE extension. Requires the OAuthClientId property for the client credential.
  • AwsCognitoSrp: Uses Amazon Cognito Secure Remote Password (SRP) protocol for authentication. This option is recommended instead of AwsCognitoBasic because it avoids sending the password directly to the server.
  • AwsCognitoBasic: Uses Amazon Cognito Basic authentication.

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