Skip to content
Ionut Moraru edited this page Mar 9, 2015 · 7 revisions

The sis.api module provides a set of AngularJS services which can be injected inside controllers and facilitate the communication with the SIS API.

Services

Authorization

The module implements the Oauth authorization by default.

Configuration

The sisToken value must be set in order to authorize API calls.

Example:

sisToken.token_type = 'bearer';
sisToken.access_token = 'af36b2ad7cd83137a9df370a24246da90a3e3fas';
sisToken.expires_in = 2678400;
sisToken.refresh_token = '256d2cd96e389f2904ac831a6d93b7133cd79211';
Clone this wiki locally