Base solution for your next web application
Open Closed

Difference between AbpUserLogins and AbpUserTokens #7246


User avatar
0
nathaliewehbe created

Hi Please can you provide me with the difference between AbpUserLogins and AbpUserTokens? what is the purpose of AbpUserLogins and AbpUserTokens?


3 Answer(s)
  • User Avatar
    -1
    maliming created
    Support Team

    Hi, AbpUserLogins is used to store external authentication info, AbpUserTokens is used to store two factor authentication info.

  • User Avatar
    0
    nathaliewehbe created

    Seriously? there is no more details about that I already read this , i need more details where you are saving the token when he login throw social media whcih mean external authentication?

  • User Avatar
    0
    maliming created
    Support Team

    They come from Identity. Corresponding to the AspNetUserLogins and AspNetUserTokens tables. If you are interested, you can view the source code. Learn the specific details.

    For example, create an Individual authentication MVC project. These tables are created by default

    When I log in using Github(AspNetUserLogins)

    When I enable two-factor authentication with Google Authenticator.(AspNetUserTokens)