OAuth client for Lite CRM
- Add nuget source:
nuget sources add -name GPR -Source https://nuget.pkg.github.com/ajupov
- Install package:
nuget install LiteCrm.OAuth
public static class Program
{
public static Task Main()
{
var configuration = Configuration.GetConfiguration();
return configuration
.ConfigureServices((context, services) =>
{
services
.AddSomeAuthentication()
.AddLiteCrmOAuth(configuration)
.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme);
})
.Configure((context, builder) =>
{
builder
.UseAuthentication()
})
.Build()
.RunAsync();
}
}
- Clone this repository
- Switch to a
new branch
- Make changes into
new branch
- Upgrade
PackageVersion
property value in.csproj
file - Create pull request from
new branch
tomaster
branch - Require code review
- Merge pull request after approving
- You can see package in Github Packages