yolk-login-service
```cookies.set('userName', this.state.userName, { path: '/' });
Last updated 3 months ago by gagan_gill .
Original npm · Tarball · package.json
$ cnpm install yolk-login-service 
SYNC missed versions from official npm registry.

Cookies Used


cookies.set('new_token', response.headers.new_token, { path: '/' });

cookies.remove('ERROR');

window.location = cookies.get('URL');


userName -> Username

new_token -> password

URL -> Url user was at before getting redirected to login

ERROR -> is unauthorized access

Current Tags

  • 0.1.0                                ...           latest (3 months ago)

1 Versions

  • 0.1.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |