README.md in authorizme-0.0.3 vs README.md in authorizme-0.0.4
- old
+ new
@@ -42,9 +42,13 @@
Also you can set roles. Just add some roles in Role model and then set it to user. In controller you can use `before_filter` method `require_user` or `require_{role}` where `role` is your required role name.
### Advanced usage
+#### Synchronize
+
+You can sync your accounts. If user login with another provider on existing user session, then plugin will set synchronize request. You can call `has_synchronize_request?` and check if there's any new request. Then you can call 'synchronize(user)' to user model.
+
#### Custom provider callback view
By default providers use callback view which require JQuery and require `eventBus` in `window` dom element:
```javascript
\ No newline at end of file