Comments (2)
We have that but in current release it's only internal, not publicly exposed
see here: https://github.com/MitjaBezensek/SharpBucket/blob/master/SharpBucket/Authentication/OAuth2TokenProvider.cs
and we have a git clone usage in our unit tests.
See the usage of the token provider here:
https://github.com/MitjaBezensek/SharpBucket/blob/master/SharpBucketTests/GitHelpers/OAuth2GitCredentialsProvider.cs
And our git clone operation done with LibGit2Sharp in the constructor of that class:
https://github.com/MitjaBezensek/SharpBucket/blob/master/SharpBucketTests/GitHelpers/TestRepositoryBuilder.cs
I suppose we can easily expose to public the OAuth2TokenProvider
if it match your needs
But for the OAuth2GitCredentialsProvider
it won't be so simple. It depends on a git implementation (LibGit2Sharp) on which we don't want to take any dependency for the package we provide, and which may not be the one that you expect to use.
But if you use the same implementation, maybe we can though to provide a second package that provide that class. Or you can simply copy/past it in your own code, since creating a package for so little may not be relevant.
Take a look at those classes and tell me if just exposing the OAuth2TokenProvider
to public would be good for you.
from sharpbucket.
OAuth2TokenProvider has been improved and will be exposed to public in the next release
from sharpbucket.
Related Issues (20)
- Commit filtering? HOT 2
- How to make a commit? HOT 2
- PullRequest activity endpoints missing approval data HOT 3
- How to list the tags my repository? HOT 2
- Is there any way to get text the pull request? HOT 2
- I have the description of the Pull Request formatted. Example: bold, list, table, images. How can I get this Html for a friendlier presentation? HOT 2
- How do I get the last pull request from the master? to avoid the problem I'm having slow. method used: .GetPullRequestLog () HOT 2
- Project Filter on RepositoriesEndPoint HOT 2
- Expose Enumerate... methods in addition to existing List... methods HOT 2
- Add support of async methods
- Expose async methods in addition of existing methods HOT 1
- Add support of IAsyncEnumerable<T> for Enumerate methods
- Expose Enumerate_Async methods in addition to existing List... methods HOT 1
- Support for issues HOT 7
- Tag POCO is incomplete HOT 1
- The PullRequest POCO is missing an HTML link
- Clone and Fetch HOT 1
- Implement OathToken Refresh
- Comment all public types and members
- Tag creation operation missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharpbucket.