Questions tagged [identity]

An inherent property of an entity that distinguishes that entity from all others. Frequently used to refer to user identity and authentication.

Identity typically refers to user identity in authentication scenarios.

2969 questions
1
vote
1 answer

How to set custom authentication cookies?

I'm building a custom ASP.NET Identity 2.0 implementation that uses our own data model, another ORM, other business logic, etc. By default, a user is logged in by setting the ApplicationCookie, after which the AuthorizeAttribute recognizes the…
Leon Cullens
  • 12,276
  • 10
  • 51
  • 85
1
vote
0 answers

How to set other cookie as authentication cookie?

I'm developing a custom ASP.NET Identity 2.0 implementation. By default, I'm logged in when I set the .AspNet.ApplicationCookie. I want to offer multiple ways to log in, and in my custom AuthorizeAttribute I want to check what method was used to log…
1
vote
4 answers

Jquery: Passing ID inside .append

Newbie here, got a question that hopefully is simple enough: So I have this line of code; $("#r"+i+"c"+j).append($("", {style:"display:block; margin: 0 auto;", src: imagefile, width: cellDimension + "px", height: cellDimension +…
Sifu
  • 153
  • 1
  • 17
1
vote
1 answer

MVC 5 Identity 2 - customer UserStore methods not being called

I am trying to implement a custom UserStore for my MVC 5 application so that I can delegate the database commands to my existing database project. The tables in my database use integer keys, so I created a custom UserManager that inherits…
1
vote
1 answer

Is it possible to identify every separate computer?

I am thinking of a very simple log in system that doesn't require a login, but instead a system with an id and store it in a database. Then when the user comes back to the website he gets matched with his unique ID and logged-in in that way. I am…
Slava Knyazev
  • 5,377
  • 1
  • 22
  • 43
1
vote
1 answer

Asp.net Identity, inheritance of IdentityUserLogins class

I use Asp.net Identity. I would like add some extra columns to table AspnetUserLogins (column Firstname, Lastname). In order to that I inherited class IdentityUserLoginslike public class ApplicationUserLogin : IdentityUserLogin { public string…
Hervis
  • 11
  • 1
1
vote
3 answers

Bring the users identity from the presentation tier to the application tier

For our n-tier application we are looking for a way to use the identity from the presentation tier to the application tier. Our application is a classic 3 tier application with the following tiers: UI - Presentation tier Application / WCF…
Kees
  • 1,408
  • 1
  • 15
  • 27
1
vote
1 answer

X509SecurityToken is missing under Namespace of System.IdentityModel.Tokens

I have installed Nuget package of "JSON Web Token Handler For the Microsoft .Net Framework 4.5" (link:- http://www.nuget.org/packages/System.IdentityModel.Tokens.Jwt/) for visual studio 2012. But it doesn't contains a definition for…
Kushan Randima
  • 2,174
  • 5
  • 31
  • 58
1
vote
1 answer

WSFederation & Manual ClaimsIdentity with AppPool recycles

I have an application that needs to support both Federation (IdP-Initiated) as well as manual authentication (standard username/password form). As such I am using .NET v4.5 System.Identity to make the application claims aware. The issue we are…
KyKo
  • 382
  • 4
  • 15
1
vote
1 answer

Error serializing the security token when switching from ADFS STS to a custom STS

I have a web app (named MyWebClient) calling a service (named MyService) over http. MyService accepts an issued token from ADFS and it is working fine. I want to switch from ADFS to MyCustomSTS (using WIF 4.5). I expect that MyWebClient code won't…
phuongle
  • 41
  • 5
1
vote
1 answer

Default value of user id in MQ message header

In my application, I am sending message out to a Websphere MQ queue. Here in the application, users have the flexibility to set the user id in the message. However my problem is, since the parameter is configurable in my application, if users does…
Somnath Musib
  • 3,548
  • 3
  • 34
  • 47
1
vote
1 answer

Enable Migration For Asp.Net Identity

Hi How To Enable Migration In Asp.Net Identity Application DbContext ? I Have Project With Some Tables . And Install Identity From Nuget On Them . My Table Related To Identity User Table . I Want To Enable Migration For All Project. Please Help Me…
user3649320
  • 21
  • 1
  • 2
1
vote
0 answers

Authenticating a WP8.1 device in Windows Azure

I am creating a Windows Phone 8.1 app that will run on devices that we supply to our customers. We want to associate the device with a customer during provisioning. As the customer employees use the device, they also have to log in to identify…
Bill Noel
  • 1,120
  • 9
  • 21
1
vote
2 answers

Bulk Translation Of Table Contents

I'm currently performing a migration operation from a legacy database. I need to perform migration of millions of originating rows, breaking the original content apart into multiple destination parent / child rows. As it's not a simple 1 to 1…
Brian Scott
1
vote
0 answers

ASP.NET identity 2.0 log in user programatically after facebook login

I have a web app that allow users to register with Facebook. The process is: User clicks login with facebook. Users is redirected to facebook login. After logging in with facebook, users facebook profile is returned to my app and autopopulates the…
mdrap
  • 115
  • 2
  • 6