 		
 		return true
 
+
+
+
+
+##############################################
+############ CLIENT SIDE METHODS #############
+##############################################
+
 if Meteor.isClient
 	Meteor.getAuthMethods = () ->
 		Meteor.call 'livetoken.authMethods', (err, res) ->

				callback err
			else
				callback res



			if auth.name is 'ident'
				if Session.get 'livetoken.emailToken'
					auth.name = 'email'
				else if Session.get 'livetoken.phoneToken'
					auth.name = 'phone'
				else
					throw new Meteor.Error 'empty-authentication', 'Your authentication type is not set.'
				options[auth.name] = options.ident
			
			ident = Session.get "livetoken.#{auth.name}Token"
			creds[ident] = { type: auth.name, token: options[auth.name] }
			if auth.name is 'email'
				user.email = ident
		
		if Object.keys(creds).length > 0
			credentials = [creds]
