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