| | |
| | | public class LoginCommandCallback |
| | | { |
| | | /// <summary> |
| | | /// 用户Id |
| | | /// </summary> |
| | | public Guid Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 用户访问令牌 |
| | | /// </summary> |
| | | public string AccessToken { get; set; } |
| | |
| | | /// 刷新令牌 |
| | | /// </summary> |
| | | public string RefreshToken { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IConfiguration config) |
| | | { |
| | | app.UseInject(string.Empty); |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | return new LoginCommandCallback |
| | | { |
| | | Id = logier.Id, |
| | | AccessToken = logier.AccessToken, |
| | | RefreshToken = logier.RefreshToken, |
| | | }; |
| | |
| | | <ProjectReference Include="..\FlexJobApi.FlexJobServer.Application\FlexJobApi.FlexJobServer.Application.csproj" /> |
| | | <ProjectReference Include="..\FlexJobApi.UserServer.Application\FlexJobApi.UserServer.Application.csproj" /> |
| | | </ItemGroup> |
| | | |
| | | |
| | | <ItemGroup> |
| | | <Folder Include="certs\" /> |
| | | </ItemGroup> |
| | | |
| | | |
| | | <ItemGroup> |
| | | <None Update="certs\81812333.com.pfx"> |
| | | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| | | </None> |
| | | </ItemGroup> |
| | | <ProjectExtensions> |
| | | <VisualStudio> |
| | | <UserProperties properties_4launchsettings_1json__JsonSchema="" /> |