mirror of https://github.com/abpframework/abp.git
6 changed files with 20 additions and 18 deletions
@ -0,0 +1,16 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Authentication; |
||||
|
using Microsoft.AspNetCore.Identity; |
||||
|
using Volo.Abp.AspNetCore.Mvc; |
||||
|
|
||||
|
namespace MicroserviceDemo.Web.Controllers |
||||
|
{ |
||||
|
public class AccountController : AbpController |
||||
|
{ |
||||
|
public async Task Logout() |
||||
|
{ |
||||
|
await HttpContext.SignOutAsync(IdentityConstants.ApplicationScheme); |
||||
|
await HttpContext.SignOutAsync("oidc"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue