Add error code matching GIT_EAUTH for authentication failures #210
Loading…
Reference in New Issue
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My use case is a client which caches OAuth2 access tokens for authentication. When the access token expires, the client gets a new one using a refresh token.
Unfortunately, the only surefire way to know the access token has expired is to use it until authentication fails. So the client needs a way to know when authentication failed, and GIT_EAUTH seems to be the right error code to check for.