Proxy server
- Last Updated: November 9, 2021
- 1 minute read
- DataDirect Connectors
- ODBC
- GitHub 8.0
- Documentation
This string includes the connection options you may need to connect through a proxy server with OAuth 2.0 authentication.
DRIVER=DataDirect 8.0 GitHub;HostName=host_name;ProxyHost=proxy_host;
ProxyPassword=proxy_password;ProxyPort=proxy_port;ProxyUser=proxy_user;
AuthenticationMethod=24;AccessToken=access_token;[attribute=value[;...]];
where:
- host_name
- specifies the base URL of the GitHub instance to which you want to issue requests. For example, github.enterprise.com for enterprise accounts and api.github.com for cloud accounts.
- proxy_host
-
specifies the proxy server to use for the first connection.
- proxy_password
-
specifies the password needed to connect to a proxy server for the first connection.
- proxy_port
-
specifies the port number where the proxy server is listening for requests for the first connection. The default is
0.
- proxy_user
-
specifies the user name needed to connect to a proxy server for the first connection.
- access_token
-
specifies the access token used to authenticate to the GitHub service.Important: The access token is a confidential value used to authenticate to the server. To prevent unauthorized access, this value must be securely maintained.
- attribute=value
- specifies connection option settings. Multiple option attributes are separated by a semi-colon.
The following example connection string includes the options required for using a proxy server with OAuth 2.0 authentication.
DRIVER=DataDirect 8.0 GitHub;HostName=api.github.com;
ProxyHost=pserver;ProxyPassword=secret;ProxyPort=808;ProxyUser=jsmith;
AuthenticationMethod=24;AccessToken=123=abCD/EfGh4Ijk+L;