Bearer token authentication
- Last Updated: November 9, 2021
- 1 minute read
- DataDirect Connectors
- ODBC
- GitHub 8.0
- Documentation
This string includes the connection options used to connect with bearer token authentication.
DRIVER=DataDirect 8.0 GitHub;HostName=host_name;
SecurityToken=security_token;[attribute=value[;...]];
where:
- host_name
- specifies the base URL of the GitHub service to which you want to
issue requests. For example, https://github.enterprise.com for enterprise accounts.
Note: Specifying an HTTPS URL for this option enables data encryption.
- security_token
- specifies the personal access token assigned to you.
- attribute=value
- specifies connection option settings. Multiple options are separated by a semi-colon.
The following example shows how to establish a connection to a GitHub service:
DRIVER=DataDirect 8.0 GitHub;HostName=github.enterprise.com;
SecurityToken=12a3=bCD/EfGh4Ijk4tk3c527831;