Skip to content

tranconbv/AspNetCore.Authentication.ExactOnline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exact online

1.0.0

  • Initial release

Usage

app.UseExactOnlineAuthentication(new ExactOnlineAuthenticationOptions()
{
    ClientId = "",
    ClientSecret = "",
    WebhookSecret = ""
});

//or to map to appsettings directly
services.Configure<ExactOnlineAuthenticationOptions>(Configuration.GetSection("ExactOnline"));
app.UseExactOnlineAuthentication();

Api calls

to do api calls you can find the security tokens under claims:

  • urn:exactonline:access_token_expires_at"
  • urn:exactonline:access_token
  • urn:exactonline:refresh_token
  • urn:exactonline:division (current devision logged in with)

No rolling refresh_token is implemented yet. (Make a pull request if you like).

About

OAuth provider for exact online in dotnet core

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages