Skip to content

Jvlythical/CDELogin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published