[]
        
(Showing Draft Content)

C1.DataConnector.AdoNet.C1OAuthConnectionStringBuilder

C1OAuthConnectionStringBuilder Class

The base class for all providers containing the OAuth2 information to set up a connection.

Namespace: C1.DataConnector.AdoNet
Assembly: C1.AdoNet.QuickBooksOnline.dll
Syntax
public abstract class C1OAuthConnectionStringBuilder : C1ConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor

Constructors

Name Description
C1OAuthConnectionStringBuilder()

The default constructor of C1OAuthConnectionStringBuilder.

Properties

Name Description
Domain

The domain or computer name that verifies the credentials.

this[string]

Gets or sets the value associated with the specified key.

OAuthAccessToken

The OAuth 2.0 access token to be used for the authentication.

OAuthClientId

The id of the OAuth 2.0 Client to be used for the authentication.

OAuthClientSecret

The secret of the OAuth 2.0 Client to be used for the authentication.

OAuthExtendProperties

The extend properties for the OAuth 2.0 authentication request.

OAuthGrantType

The extend properties for the OAuth 2.0 authentication request.

OAuthRefreshToken

The OAuth 2.0 refresh token to be used for the authentication.

OAuthScope

The scope for the OAuth 2.0 authentication request.

OAuthTokenEndpoint

The OAuth 2.0 token endpoint to be used for the authentication.

Password

The password of the user to be used for the authentication.

Username

The username to be used for the authentication.

Methods

Name Description
Equals(object)

Method that check if two instance C1OAuthConnectionStringBuilder can be considered equals considering pooling and caching connection purposes.

GetHashCode()

Retrieve the mapped hash code of this C1OAuthConnectionStringBuilder.