Scriptation will use the standard OAuth 2.0 authorization framework to authorize and gather access tokens.
You must provide an access token that Scriptation will include for every authenticated API call by using an HTTP header:
Authorization: bearer {access_token}
You have to respond with an HTTP 401 error when receiving a request with an expired token.