private long handleRequestNotifications(String authType, String controller, String id, String passcode) {
		long timestamp = System.currentTimeMillis();
		String accessPoint = findAssociation(controller).accessPoint.id;
		NotificationToken token;
		if (id != null && passcode != null) {
			token = new NotificationToken(controller, accessPoint, timestamp, ComponentTypes.Authorization.valueOf(authType), id, passcode);
		}
		else if (id != null && passcode == null) {
			token = new NotificationToken(controller, accessPoint, timestamp, ComponentTypes.Authorization.valueOf(authType), id);
		}
		else if (id == null && passcode != null) {
			token = new NotificationToken(controller, accessPoint, timestamp, ComponentTypes.Authorization.valueOf(authType), passcode);
		}
		else {
			token = new NotificationToken(controller, accessPoint, timestamp, ComponentTypes.Authorization.valueOf(authType), null);
		}
		updateNotificationServices(token);
		return timestamp;
	}