liveBook · Manning

Grant type

A grant type is an OAuth authorization flow that specifies how a client obtains authorization or an access token from an authorization server.

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 →

What to know first

Related concepts

Questions about grant type

What is grant type?

A grant type is an OAuth authorization flow that specifies how a client obtains authorization or an access token from an authorization server.

Which Manning books explain grant type?

Spring Security in Action, Second Edition and ASP.NET Core in Action, 3e.

What should I know before learning grant type?

Manning books that teach grant type usually introduce authorization, authentication, implicit grant type and password grant type first.

What kinds of grant type are there?

Kinds of grant type include authorization code flow, client credentials grant type and password grant type.

What is grant type part of?

Grant type is part of OAuth. OAuth is an authorization framework that enables a client to obtain limited, delegated access to protected resources without receiving the resource owner's credentials.

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.