liveBook · Manning

JSON Web Token

As explained in .NET MAUI in Action

A JSON Web Token is a compact, signed token format for representing claims exchanged between parties.

A JSON Web Token (JWT) is a compact, signed token that represents claims exchanged between parties. In a .NET MAUI app, it can authenticate calls to protected API resources after a user signs in through an OpenID Connect identity provider. section 8.1.2

A typical mobile authentication flow proceeds as follows:

  • WebAuthenticator opens the identity provider's login page in a browser. section 8.1.2

How .NET MAUI in Action covers it

How deep it goes
Explains the acquisition flow and configuration but stops short of detailing JWT claim structure or signature validation.
Examples
Uses MauiStockTake authentication with IdentityServer, LoginAsync, a custom redirect scheme, and platform URL-registration files.
What it assumes
Assumes familiarity with basic identity, authentication, authorization, and .NET MAUI application development.
What you can do after
Operate/configure a .NET MAUI authentication service that obtains a JWT through an OIDC-compliant identity provider.
How it connects
Connects JWTs with OpenID Connect, OAuth 2, IdentityServer, OidcClient, WebAuthenticator, and protected APIs.

Also explained in

Compare how 11 books explain JSON Web Token →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of .NET MAUI in Action. The section links point to the parts of the book it draws on.