liveBook · Manning

Grant type

A grant type is an OAuth-defined authorization flow or token-request parameter specifying how a client obtains an access token.

How 2 Manning books explain it

Spring Security in Action, Second Edition

A grant type is an OAuth 2 protocol flow by which a client obtains a token from an authorization server.

How it is used
Selects how a client obtains tokens for user-facing or backend-to-backend OAuth 2 authorization.
How deep it goes
Defines the main flows and their security roles, but defers detailed protocol mechanics and implementation steps.
Examples
Contrasts user authentication, backend service authentication, token renewal, and deprecated implicit or password flows.
What you can do after
Evaluate which OAuth 2 grant type fits a user login, service integration, or access-token renewal requirement.

Read how Spring Security in Action, Second Edition explains grant type →

ASP.NET Core in Action, 3e

A grant type is an OAuth 2.0-defined authorization flow for obtaining access credentials in a particular application scenario.

How it is used
Selects an OAuth 2.0 authorization flow for interactive user access or machine-to-machine API access.
How deep it goes
Defines three common flows and their scenarios, while directing readers to explore additional grants instead of inventing one.
Examples
Uses Facebook photo delegation, interactive authorization, and one API calling another without a user.
What you can do after
Evaluate which OAuth 2.0 flow fits an interactive user scenario or a machine-only API workflow.

Read how ASP.NET Core in Action, 3e explains grant type →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.