ASP.NET Core 2 and Angular 5.
Record details
- ISBN: 9781788299787
- ISBN: 1788299787
-
Physical Description:
1 online resource (542 pages)
remote - Publisher: Birmingham : Packt Publishing, 2017.
Content descriptions
Formatted Contents Note: | The rise and fall of OpenID -- OpenID Connect -- Authorization -- Third-party authorization -- Proprietary versus third-party -- Proprietary auth with .NET Core -- Setting up the .NET Core Identity -- Configuring the Identity service -- Extending the ApplicationUser -- Upgrading the DbContext -- Revising the DbSeeder -- A word on async tasks, awaits, and deadlocks -- Updating the database -- Adding the identity migration -- Applying the migration -- Option #1 -- update -- Option #2 -- drop and recreate -- Seeding the data -- Authentication methods -- Sessions -- Tokens -- Signatures -- Two-factor -- Conclusions -- Implementing JWT authentication -- Add the auth service to the .NET Core Startup class -- Updating the AppSettings files -- The TokenController -- Upgrading the BaseApiController -- Reflecting the upgrade on the affected controllers -- Adding the TokenController -- The TokenRequestViewModel -- The TokenResponseViewModel -- Testing with Postman -- Angular login form -- The TokenResponse interface -- The AuthService class -- Updating the AppModule -- The new LoginComponent -- First login test -- Adding the token to the HTTP request header -- The AuthInterceptor class -- Adding the HttpInterceptor in the AppModule -- Enforcing authorization -- Adapting the client -- NavMenuComponent -- QuizComponent -- Shielding the server -- Retrieving the current user ID -- Client-server auth test -- Suggested topics -- Summary -- Chapter 9: Advanced Topics -- Token expiration and refresh tokens -- What's a refresh token? -- Server-side tasks -- Adding the token entity -- Upgrading the user entity -- Upgrading ApplicationDbContext -- Applying the EF core migration -- Implementing the refresh token -- Upgrading TokenResponseViewModel -- Upgrading TokenRequestViewModel -- Upgrading TokenController -- Client-side tasks -- Updating the TokenResponse interface. |
Restrictions on Access Note: | NLC staff and students only. |
Source of Description Note: | Print version record. |
Search for related items by subject
Subject: | AngularJS (Software framework) -- AngularJS (Software framework) AngularJS (Software framework) -- AngularJS (Software framework) |
Genre: | Electronic books. |