mirror of https://github.com/abpframework/abp.git
11 changed files with 21 additions and 125 deletions
@ -1,14 +1,20 @@ |
|||||
using System.Collections.Generic; |
using System.Collections.Generic; |
||||
|
using Volo.Abp.Security.Claims; |
||||
|
|
||||
namespace Volo.Abp.AspNetCore.Security.Claims |
namespace Volo.Abp.AspNetCore.Security.Claims |
||||
{ |
{ |
||||
public class AbpClaimsMapOptions |
public class AbpClaimsMapOptions |
||||
{ |
{ |
||||
public Dictionary<string, string> Map { get; } |
public Dictionary<string, string> Maps { get; } |
||||
|
|
||||
public AbpClaimsMapOptions() |
public AbpClaimsMapOptions() |
||||
{ |
{ |
||||
Map = new Dictionary<string, string>(); |
Maps = new Dictionary<string, string>() |
||||
|
{ |
||||
|
{ "sub", AbpClaimTypes.UserId }, |
||||
|
{ "role", AbpClaimTypes.Role }, |
||||
|
{ "email", AbpClaimTypes.Email }, |
||||
|
}; |
||||
} |
} |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue