From the course: ASP.NET Core Identity: Authentication Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Entity types and relationships

Entity types and relationships - ASP.NET Core Tutorial

From the course: ASP.NET Core Identity: Authentication Management

Start my 1-month free trial

Entity types and relationships

- In a speedup net core, we have different entity types, and identity types are used to represent the identity models. But, which are the identity types in a speedup net core? So, we have a user identity. User identity is used to represent the user-related data. Then, we have the role entity, which is used to represent the role's related data. Then, we have the UserClaims for the claims for the user. We have UserToken, which represents an authentication token. We have the UserLogin entity type, which is used to associate a user with a login. We have the RoleClaim, which is used to represent a claim to all users within a certain role, and then we have UserRole, which is a joint entity for users and roles. But, how are all these entity types connected or related to each other? Let us say we have two users. Each user can have many User Claims. Each user can also have many User Logins. Each user can have many User Tokens, and each user can have many associated roles. And at the same time,…

Contents