Skip to content

ipjohnson/EasyJwtProvider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyJwtProvider

JWT provider for ASP.Net Core

This is a very basic JWT provider inspired by SimpleTokenProvider with some refactoring and access to the HttpContext.

app.UseJwtProvider(new JwtOptions(AuthenticateFunction));

app.UseMvc();

private async Task<AuthenticationResult> AuthenticateFunction(AuthenticationRequest request)
{
    return new AuthenticationResult { Authenticated = true };
}

Build status Coverage Status

Releases

No releases published

Packages

No packages published