1.0.0 • Published 7 years ago

cors_lab05 v1.0.0

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 years ago

cors_lab05

CorsLab05 - JavaScript client for cors_lab05 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: v1
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install cors_lab05 --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/cors_lab05 then install it via:

    npm install YOUR_USERNAME/cors_lab05 --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var CorsLab05 = require('cors_lab05');

var api = new CorsLab05.AccountApi()

var model = new CorsLab05.AddExternalLoginBindingModel(); // {AddExternalLoginBindingModel} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountAddExternalLogin(model, callback);

Documentation for API Endpoints

All URIs are relative to http://corslab05fisli.azurewebsites.net

ClassMethodHTTP requestDescription
CorsLab05.AccountApiaccountAddExternalLoginPOST /api/Account/AddExternalLogin
CorsLab05.AccountApiaccountChangePasswordPOST /api/Account/ChangePassword
CorsLab05.AccountApiaccountGetExternalLoginGET /api/Account/ExternalLogin
CorsLab05.AccountApiaccountGetExternalLoginsGET /api/Account/ExternalLogins
CorsLab05.AccountApiaccountGetManageInfoGET /api/Account/ManageInfo
CorsLab05.AccountApiaccountGetUserInfoGET /api/Account/UserInfo
CorsLab05.AccountApiaccountLogoutPOST /api/Account/Logout
CorsLab05.AccountApiaccountRegisterPOST /api/Account/Register
CorsLab05.AccountApiaccountRegisterExternalPOST /api/Account/RegisterExternal
CorsLab05.AccountApiaccountRemoveLoginPOST /api/Account/RemoveLogin
CorsLab05.AccountApiaccountSetPasswordPOST /api/Account/SetPassword
CorsLab05.StudentsApistudentsDeleteStudentDELETE /api/Students/{id}
CorsLab05.StudentsApistudentsGetStudentGET /api/Students/{id}
CorsLab05.StudentsApistudentsGetStudentsGET /api/Students
CorsLab05.StudentsApistudentsPostStudentPOST /api/Students
CorsLab05.StudentsApistudentsPutStudentPUT /api/Students/{id}
CorsLab05.ValuesApivaluesDeleteDELETE /api/Values/{id}
CorsLab05.ValuesApivaluesGetGET /api/Values
CorsLab05.ValuesApivaluesGet_0GET /api/Values/{id}
CorsLab05.ValuesApivaluesPostPOST /api/Values
CorsLab05.ValuesApivaluesPutPUT /api/Values/{id}

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.