本文整理汇总了C#中ISecureDataFormat类的典型用法代码示例。如果您正苦于以下问题:C# ISecureDataFormat类的具体用法?C# ISecureDataFormat怎么用?C# ISecureDataFormat使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISecureDataFormat类属于命名空间,在下文中一共展示了ISecureDataFormat类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AccountController
public AccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
__loggingResourceName = "Account";
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
}
示例2: AccountController
public AccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
: base(new CFHData())
{
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
}
示例3: AccountController
public AccountController(UserManager<IdentityUser> userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
UserManager = userManager;
//UserManager.UserValidator = new UserValidator<IdentityUser>( UserManager ) { AllowOnlyAlphanumericUserNames = false };
AccessTokenFormat = accessTokenFormat;
}
示例4: LoginAccountController
public LoginAccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
UserManager = userManager;
// AccessTokenFormat = accessTokenFormat;
AccessTokenFormat = accessTokenFormat;
}
示例5: AccountController
public AccountController(ApplicationUserManager userManager, ApplicationRoleManager roleManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
RoleManager = roleManager;
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
}
示例6: AccountController
public AccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat, IJobMatcherData data)
: base(data)
{
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
}
示例7: AccountController
public AccountController(
ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
this.UserManager = userManager;
this.AccessTokenFormat = accessTokenFormat;
}
示例8: AccountController
public AccountController(ApplicationUserManager userManager,
ApplicationTenantManager tenantManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
UserManager = userManager;
TenantManager = tenantManager;
AccessTokenFormat = accessTokenFormat;
}
示例9: AccountController
public AccountController(
IConfigurationService configuration,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat
)
{
Configuration = configuration;
AccessTokenFormat = accessTokenFormat;
}
示例10: AccountController
/// <summary>
/// ctor
/// </summary>
public AccountController(IUnitOfWork unitofwork,
UserManager<UserProfile> userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat)
{
this.UnitOfwork = unitofwork;
this.UserManager = userManager;
this.AccessTokenFormat = accessTokenFormat;
}
示例11: AccountController
private AccountController(UserManager<AppUser> userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat,
IAuthenticationService iAuthenticationService)
{
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
_iAuthenticationService = iAuthenticationService;
}
示例12: AccountController
public AccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat, IAchievementDb achievementDb, IAchievementCalculationManager achievementCalculationManager)
{
_achievementDb = achievementDb;
_achievementCalculationManager = achievementCalculationManager;
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
}
示例13: AccountController
public AccountController(ApplicationUserManager userManager,
ISecureDataFormat<AuthenticationTicket> accessTokenFormat,
ICodeChestData data)
{
UserManager = userManager;
AccessTokenFormat = accessTokenFormat;
this.data = data;
}
示例14: AuthenticationTokenCreateContext
public AuthenticationTokenCreateContext(
[NotNull] HttpContext context,
[NotNull] ISecureDataFormat<AuthenticationTicket> secureDataFormat,
[NotNull] AuthenticationTicket ticket)
: base(context)
{
_secureDataFormat = secureDataFormat;
Ticket = ticket;
}
示例15: AccountApiController
public AccountApiController(ISecureDataFormat<AuthenticationTicket> accessTokenFormat, IAccountProvider accountManager, IAuthenticationManager authenticationManager, AppUserManager appUserManager)
{
AccessTokenFormat = accessTokenFormat;
AccountManager = accountManager;
AccountManager.AuthenticationManager = authenticationManager;
AccountManager.UserManager = appUserManager;
AccountManager.UrlManager = Url;
AccountManager.StartupPublicClientId = Startup.PublicClientId;
}