Creates a connection to the GitHub API with OAuth authentication.
- Namespace
- Statiq
.Web .GitHub - Containing Type
- ReadGitHub
Syntax
public ReadGitHub WithCredentials(Config<string> token)
Parameters
| Name | Type | Description |
|---|---|---|
| token | Config |
The token to use. |
Return Value
| Type | Description |
|---|---|
| ReadGitHub | The current module instance. |