Skip to content

Instantly share code, notes, and snippets.

@Mirch
Last active March 31, 2019 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mirch/b5ccdf1c6df8fbffe714cf3ed491e58a to your computer and use it in GitHub Desktop.
Save Mirch/b5ccdf1c6df8fbffe714cf3ed491e58a to your computer and use it in GitHub Desktop.
[Route("/auth/")]
public class AuthenticationController : ControllerBase
{
private readonly BlueInkDbContext _context;
private readonly HashingService _hashingService;
private readonly ITokenService _tokenService;
public AuthenticationController(BlueInkDbContext context,
HashingService hashingService,
ITokenService tokenService)
{
_context = context;
_hashingService = hashingService;
_tokenService = tokenService;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment