OAuth2 Protocol, Grants, and Guidelines for Selecting Grants One of the most widely used security protocols for securing REST APIs is OAuth2. The OAuth2 specification defines four different grant types for obtaining access tokens depending on the type of the access token owner, type of the application, and the level of trust that you have with the application.
Read full news article on Dzone