Nuget packages update
parent
d966b78eee
commit
77d6a5062e
|
@ -7,6 +7,7 @@
|
||||||
<RepositoryUrl>https://dev.azure.com/tstanciu94/_git/IdentityServer</RepositoryUrl>
|
<RepositoryUrl>https://dev.azure.com/tstanciu94/_git/IdentityServer</RepositoryUrl>
|
||||||
<RepositoryType>Git</RepositoryType>
|
<RepositoryType>Git</RepositoryType>
|
||||||
<PackageReleaseNotes>Identity server published language package</PackageReleaseNotes>
|
<PackageReleaseNotes>Identity server published language package</PackageReleaseNotes>
|
||||||
|
<Version>1.1.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
<RepositoryType>Git</RepositoryType>
|
<RepositoryType>Git</RepositoryType>
|
||||||
<RepositoryUrl>https://dev.azure.com/tstanciu94/_git/IdentityServer</RepositoryUrl>
|
<RepositoryUrl>https://dev.azure.com/tstanciu94/_git/IdentityServer</RepositoryUrl>
|
||||||
<PackageTags>IdentityServer wrapper</PackageTags>
|
<PackageTags>IdentityServer wrapper</PackageTags>
|
||||||
<Version>1.0.1.0</Version>
|
<Version>1.1.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="IdentityServer.PublishedLanguage" Version="1.0.0" />
|
<PackageReference Include="IdentityServer.PublishedLanguage" Version="1.1.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.3" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.3" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Http" Version="3.1.3" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="3.1.3" />
|
||||||
<PackageReference Include="NDB.Extensions.Http" Version="1.0.0" />
|
<PackageReference Include="NDB.Extensions.Http" Version="1.0.0" />
|
||||||
|
|
|
@ -6,6 +6,6 @@ namespace IdentityServer.Wrapper.Services
|
||||||
public interface IIdentityService
|
public interface IIdentityService
|
||||||
{
|
{
|
||||||
Task<Token> Authenticate(string userName, string password);
|
Task<Token> Authenticate(string userName, string password);
|
||||||
Task<User> Authorize(string token);
|
Task<TokenCore> Authorize(string token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,10 @@ namespace IdentityServer.Wrapper.Services
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<User> Authorize(string token)
|
public async Task<TokenCore> Authorize(string token)
|
||||||
{
|
{
|
||||||
var route = string.Format(ApiRoutes.Authorization, token);
|
var route = string.Format(ApiRoutes.Authorization, token);
|
||||||
var result = await _httpClient.ExecutePostRequest<User>(route);
|
var result = await _httpClient.ExecutePostRequest<TokenCore>(route);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,8 +9,8 @@ sc create IdentityServer.Api binPath= "<path_to_the_service_executable>"
|
||||||
#######################################################################################################################################################
|
#######################################################################################################################################################
|
||||||
Push language package:
|
Push language package:
|
||||||
|
|
||||||
dotnet nuget push IdentityServer.PublishedLanguage.1.0.0.nupkg -k ***REMOVED*** -s http://***REMOVED***/NuGetServer/nuget
|
dotnet nuget push IdentityServer.PublishedLanguage.1.1.0.nupkg -k ***REMOVED*** -s http://***REMOVED***/NuGetServer/nuget
|
||||||
dotnet nuget push IdentityServer.Wrapper.1.0.1.nupkg -k ***REMOVED*** -s http://***REMOVED***/NuGetServer/nuget
|
dotnet nuget push IdentityServer.Wrapper.1.1.0.nupkg -k ***REMOVED*** -s http://***REMOVED***/NuGetServer/nuget
|
||||||
#######################################################################################################################################################
|
#######################################################################################################################################################
|
||||||
|
|
||||||
TO DO:
|
TO DO:
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
<Content>
|
<Content>
|
||||||
◾ Token improvements and hard changes
|
◾ Token improvements and hard changes
|
||||||
◾ Increase user information complexity
|
◾ Increase user information complexity
|
||||||
|
◾ New token structure and generation mechanism
|
||||||
</Content>
|
</Content>
|
||||||
</Note>
|
</Note>
|
||||||
</ReleaseNotes>
|
</ReleaseNotes>
|
Loading…
Reference in New Issue