-
Notifications
You must be signed in to change notification settings - Fork 0
Jvlythical/CDELogin
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
USAGE:
1. Inject CDELogin into your module
2. Bind cde-login to a view element
3. Bind CDELoginCtrl to that same element
4. Bind ng-click="login()" to some click-able element
(Example shown in driver.html)
EVENTS:
*** oauth ***
Broadcasted after user authenticates with omniauth
~ Upon success, passes in the object data = {
'name' : name,
'email' : email,
'image' : image
}
*** cauth ***
Broadcasted after user authenticates with CDE backend
~ Upon success, passes in the object data = {
'uid' : user_id,
'access_token' : access_token
}
*** cstart ***
Broadcasted after container starts
~ Upon success, passes in the object data = {
'name' : container_name,
'user' : owner
'group' : 'users_with_access_to_container',
'permission' : 'container accessibility',
}
DEPENDENCIES:
jQuery
AngularJS
Gapi
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published