public AccessTokenHelper(IServiceProvider provider) { _options = provider.GetService(typeof(AuthOptions)) as AuthOptions; }
public RefreshTokenHelper(RefreshTokenDAL dal, IServiceProvider provider) { _refreshTokenDAL = dal; _options = provider.GetService(typeof(AuthOptions)) as AuthOptions; }