Skip to Content
Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications
book

Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications

by Adam Freeman
April 2021
Intermediate to advanced
733 pages
17h 59m
English
Apress
Content preview from Pro ASP.NET Core Identity: Under the Hood with Authentication and Authorization in ASP.NET Core 5 and 6 Applications
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. FreemanPro ASP.NET Core Identity https://doi.org/10.1007/978-1-4842-6858-2_19

19. Creating a Role Store

Adam Freeman1  
(1)
London, UK
 
In this chapter, I create and use a role store. As earlier chapters have shown, Identity doesn’t need a role store to use roles, and the use of a role store is entirely optional and the features that are provided are not needed in most projects. That said, a role store can be a useful way to ensure that roles are used consistently. Table 19-1 puts role stores in context.
Table 19-1.

Putting Roles Stores in Context

Question

Answer

What is it?

The role store allows additional data to be associated with roles.

Why is it useful?

The ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASP.NET Core Identity - Authentication and Authorization

ASP.NET Core Identity - Authentication and Authorization

Trevoir Williams
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 9781484268582Purchase LinkPublisher Website