https://github.com/bengreenier-archive/unity-package-authentication
Authentication client for the unity package service
https://github.com/bengreenier-archive/unity-package-authentication
package unity
Last synced: 2 months ago
JSON representation
Authentication client for the unity package service
- Host: GitHub
- URL: https://github.com/bengreenier-archive/unity-package-authentication
- Owner: bengreenier-archive
- License: mit
- Created: 2017-03-19T01:38:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-19T15:30:27.000Z (over 9 years ago)
- Last Synced: 2025-05-14T19:47:57.747Z (about 1 year ago)
- Topics: package, unity
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unity-package-authentication
> Note: uses es6 classes, see [this](http://node.green/#ES2015-functions-class) for node version compatibility
[](https://travis-ci.org/bengreenier/unity-package-authentication)
Authentication client for the unity package service
## How
Do I...
### Install
Simple! Just `npm install unity-package-authentication`
### Use
See the following (or the [tests](./test/basic.js)):
```
const client = new UnityAuthenticationClient()
client.authenticate('username','password', 'license', 'hardware')
.then((sessionId) => {
// sessionId is a valid unity session
})
```
You'll probably also want to check out:
+ [unity-package-download](https://github.com/bengreenier/unity-package-download)
## License
MIT