# cors_lab

> ERROR_UNKNOWN

Latest version **1.0.0** (published 2017-02-14) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install cors_lab
pnpm add cors_lab
yarn add cors_lab
bun add cors_lab
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-02-14 |
| First published | 2017-02-14 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | shanejackson |

## Links

- npm: https://www.npmjs.com/package/cors_lab
- npm.io page: https://npm.io/package/cors_lab

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) 1.7.1

## Recent versions

- 1.0.0 (latest) — 2017-02-14

## README

# cors_lab

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

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

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/),
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install cors_lab --save
```

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

```shell
    npm install YOUR_USERNAME/cors_lab --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). 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):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var CorsLab = require('cors_lab');

var api = new CorsLab.AccountApi()

var model = new CorsLab.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://localhost:57684*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*CorsLab.AccountApi* | [**accountAddExternalLogin**](docs/AccountApi.md#accountAddExternalLogin) | **POST** /api/Account/AddExternalLogin | 
*CorsLab.AccountApi* | [**accountChangePassword**](docs/AccountApi.md#accountChangePassword) | **POST** /api/Account/ChangePassword | 
*CorsLab.AccountApi* | [**accountGetExternalLogin**](docs/AccountApi.md#accountGetExternalLogin) | **GET** /api/Account/ExternalLogin | 
*CorsLab.AccountApi* | [**accountGetExternalLogins**](docs/AccountApi.md#accountGetExternalLogins) | **GET** /api/Account/ExternalLogins | 
*CorsLab.AccountApi* | [**accountGetManageInfo**](docs/AccountApi.md#accountGetManageInfo) | **GET** /api/Account/ManageInfo | 
*CorsLab.AccountApi* | [**accountGetUserInfo**](docs/AccountApi.md#accountGetUserInfo) | **GET** /api/Account/UserInfo | 
*CorsLab.AccountApi* | [**accountLogout**](docs/AccountApi.md#accountLogout) | **POST** /api/Account/Logout | 
*CorsLab.AccountApi* | [**accountRegister**](docs/AccountApi.md#accountRegister) | **POST** /api/Account/Register | 
*CorsLab.AccountApi* | [**accountRegisterExternal**](docs/AccountApi.md#accountRegisterExternal) | **POST** /api/Account/RegisterExternal | 
*CorsLab.AccountApi* | [**accountRemoveLogin**](docs/AccountApi.md#accountRemoveLogin) | **POST** /api/Account/RemoveLogin | 
*CorsLab.AccountApi* | [**accountSetPassword**](docs/AccountApi.md#accountSetPassword) | **POST** /api/Account/SetPassword | 
*CorsLab.StudentsApi* | [**studentsDeleteStudent**](docs/StudentsApi.md#studentsDeleteStudent) | **DELETE** /api/Students/{id} | 
*CorsLab.StudentsApi* | [**studentsGetStudent**](docs/StudentsApi.md#studentsGetStudent) | **GET** /api/Students/{id} | 
*CorsLab.StudentsApi* | [**studentsGetStudents**](docs/StudentsApi.md#studentsGetStudents) | **GET** /api/Students | 
*CorsLab.StudentsApi* | [**studentsPostStudent**](docs/StudentsApi.md#studentsPostStudent) | **POST** /api/Students | 
*CorsLab.StudentsApi* | [**studentsPutStudent**](docs/StudentsApi.md#studentsPutStudent) | **PUT** /api/Students/{id} | 
*CorsLab.ValuesApi* | [**valuesDelete**](docs/ValuesApi.md#valuesDelete) | **DELETE** /api/Values/{id} | 
*CorsLab.ValuesApi* | [**valuesGet**](docs/ValuesApi.md#valuesGet) | **GET** /api/Values | 
*CorsLab.ValuesApi* | [**valuesGet_0**](docs/ValuesApi.md#valuesGet_0) | **GET** /api/Values/{id} | 
*CorsLab.ValuesApi* | [**valuesPost**](docs/ValuesApi.md#valuesPost) | **POST** /api/Values | 
*CorsLab.ValuesApi* | [**valuesPut**](docs/ValuesApi.md#valuesPut) | **PUT** /api/Values/{id} | 


## Documentation for Models

 - [CorsLab.AddExternalLoginBindingModel](docs/AddExternalLoginBindingModel.md)
 - [CorsLab.ChangePasswordBindingModel](docs/ChangePasswordBindingModel.md)
 - [CorsLab.ExternalLoginViewModel](docs/ExternalLoginViewModel.md)
 - [CorsLab.ManageInfoViewModel](docs/ManageInfoViewModel.md)
 - [CorsLab.RegisterBindingModel](docs/RegisterBindingModel.md)
 - [CorsLab.RegisterExternalBindingModel](docs/RegisterExternalBindingModel.md)
 - [CorsLab.RemoveLoginBindingModel](docs/RemoveLoginBindingModel.md)
 - [CorsLab.SetPasswordBindingModel](docs/SetPasswordBindingModel.md)
 - [CorsLab.Student](docs/Student.md)
 - [CorsLab.UserInfoViewModel](docs/UserInfoViewModel.md)
 - [CorsLab.UserLoginInfoViewModel](docs/UserLoginInfoViewModel.md)


## Documentation for Authorization

 All endpoints do not require authorization.

---
_Source: https://npm.io/package/cors_lab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
