OAUTH2

In Fantastico, a very modern authorization framework (OAUTH2) was choosen for guaranteeing:

  1. Easy security for REST APIs.
  2. Easy integration of 3rd party applications.
  3. Easy integration of various Identity Providers.

OAUTH2 specification contains many scenarios for its usage and provide various flows:

  1. Authorizaton code grant.
  2. Implicit grant.
  3. Resource owner password credentials grant.
  4. Client credentials grant.

In order to understand all this flows you can read the official OAUTH2 [http://tools.ietf.org/pdf/rfc6749.pdf] documentation.