mirror of
https://github.com/Rast1234/VkNet.TokenMagic.git
synced 2026-07-09 17:19:12 +00:00
some polishing
This commit is contained in:
parent
cc36c930ec
commit
62e102b421
3 changed files with 9 additions and 2 deletions
|
|
@ -20,6 +20,7 @@
|
|||
<PackageReference Include="Microsoft.Extensions.Http" Version="2.2.0" />
|
||||
<PackageReference Include="VkNet" Version="1.41.0" />
|
||||
<PackageReference Include="VkNet.NLog.Extensions.Logging" Version="1.3.1" />
|
||||
<PackageReference Include="VkNet.TokenMagic" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ using VkNet.Model.RequestParams;
|
|||
using VkNet.NLog.Extensions.Logging;
|
||||
using VkNet.NLog.Extensions.Logging.Extensions;
|
||||
using VkNet.TokenMagic;
|
||||
|
||||
namespace Example
|
||||
{
|
||||
class Program
|
||||
{
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
|
||||
var services = new ServiceCollection();
|
||||
services.AddVkTokenMagic();
|
||||
services.AddTokenMagic();
|
||||
services.AddSingleton<ILoggerFactory, LoggerFactory>();
|
||||
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
|
||||
services.AddLogging(builder =>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Authors>Rast1234</Authors>
|
||||
<PackageProjectUrl>https://github.com/Rast1234/VkNet.TokenMagic</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/Rast1234/VkNet.TokenMagic</RepositoryUrl>
|
||||
<Description>VkNet extension to authenticate as Android client app</Description>
|
||||
<PackageTags>vk vknet token authentication auth audio permissions bypass</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue