Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.17 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.17 KB

CATH / SWISS-MODEL API

Build Status

This repository is here to help development relating to the CATH / SWISS-MODEL (2018 ELIXIR Implementation Study).

General layout:

├── api      OpenAPI specification docs
├── docs     general project admin
└── perl5    Perl code (tests)

Useful Links

OpenAPI

OAuth2

There are a few different flows according to what particular type of authentication system is required, but typical authentication flow might look like:

  1. client logs in, server generates token, server sends token back to client
  2. client adds token to the header of all subsequent requests
  3. server uses token to validate who is making the request
  4. server checks that this user is authorised for this endpoint (eg. using OpenAPI spec)
  5. client logs out