mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
Fix documentation: change all master branch references to main (#2220)
This commit is contained in:
@@ -28,7 +28,7 @@ var tokenAuth = new Credentials("token"); // NOTE: not real token
|
||||
client.Credentials = tokenAuth;
|
||||
```
|
||||
|
||||
It is **strongly recommended** to use the [OAuth Flow](https://github.com/octokit/octokit.net/blob/master/docs/oauth-flow.md) for interactions on behalf of a user, as this gives two significant benefits:
|
||||
It is **strongly recommended** to use the [OAuth Flow](https://github.com/octokit/octokit.net/blob/main/docs/oauth-flow.md) for interactions on behalf of a user, as this gives two significant benefits:
|
||||
|
||||
- the application owner never needs to store a user's password
|
||||
- the token can be revoked by the user at a later date
|
||||
|
||||
Reference in New Issue
Block a user